Skip to content

Accessibility and failure gaps found while documenting the web app's design #478

Open

Description

@fctl-sh

What is wrong or missing

While documenting how the web app is designed (hyperstructure/design's docs/), the research read every component's code and found places where the app falls short of its own rules: focus that disappears in Windows' contrast themes, controls that only a mouse or only sight can use, buttons that are invisible but still take taps on touch screens, text below contrast, and failures shown as empty lists. None of these was checked on a device or with a screen reader yet: each needs confirming before it's fixed.

How it works now

Each design page (added in hyperstructure/design#22) has a Known gaps section with the details and file paths: the app shell (docs/web-app/shell.md), the UI kit (kit.md), lists, rows and pages (lists-and-pages.md), the changes viewer (changes.md), pages that explain (explaining.md). In short:

Forced colors (contrast themes drop backgrounds and box-shadows, keep outlines and borders; the rule since #470 is outlines for rings, borders for lines):

  • The sidebar's current page is marked with a background and an inset shadow (HERE in components/shell/sidebar.tsx); the resize handle's focus is a 1 px background line.
  • Input, Select's trigger and the color popover's thumbs show focus only through box-shadows and border color on outline-none (components/ui/form.tsx, select.tsx, color-popover.tsx).
  • The changes viewer's file list shows keyboard focus as an inset box-shadow; its gutter rule, side-by-side rule and selected layout segment are box-shadows too.
  • Page tabs mark the open tab with a filled span; Settings' sliding highlight is a background.

Keyboard and screen readers:

  • Most sidebar rows (sessions, projects, workspaces, the Agent Floor, Settings) don't carry aria-current="page".
  • The phone drawer doesn't take the focus, Escape doesn't close it, and Tab reaches the page behind its shade.
  • The ⌘K palette has no combobox or listbox roles or aria-activedescendant, and Tab can leave it.
  • Menu (components/ui/overlay.tsx) has role="menu" but no arrow keys; its Escape isn't stopped, so inside a Dialog it likely closes the dialog too; it isn't in the top layer, so a clipping parent can cover it.
  • In the changes viewer, the wrap button both changes its label and is aria-pressed, and the file list and the file stepper share the name "Changed files".
  • A Switch's words aren't a <label> and its hint isn't tied with aria-describedby; a workspace's setup checklist marks done steps only visually.

Touch:

  • The workspace header's "+" and fold chevron and a project's "Change its icon" are opacity-0 hover reveals without [@media(hover:none)]:hidden: invisible on touch screens but still tappable.
  • Sidebar rows keep their 32 and 28 px heights on touch screens; a Switch is 20 × 36 px.
  • The search button shows its ⌘K keycap on phones; the open page tab isn't scrolled into view on a phone.

Contrast: text-pink ("Paused") is 3.2:1 on the light theme, below 4.5:1 for small text; the text-safe violet token exists and isn't used.

Failures and edges:

  • Several tabs show a failed load as an empty list (a project's sessions, repositories, memory and members; a workspace's people and GitHub).
  • Mutations without onError fail silently, and an error naming a field the form doesn't show appears nowhere.
  • Dialog closes when a press that started inside (selecting text) is released on the backdrop; Sheet, Lightbox and the shortcuts dialog guard against it.
  • Settings' pages remount when the tab changes, dropping unsaved text.
  • A project's page shows an empty area for an unknown or forbidden ?tab=.
  • The theme doesn't follow other open tabs; reduced motion doesn't turn off the router's 220 ms cross-fade between pages.
  • A workspace's Runners tab doesn't say when a runner is low on disk or out of it; only the admin list, the Agent Floor and the session page do.
  • Removing a Claude connection in Settings asks for no confirmation (its section's description warns that it stops sessions); a few strings use an em dash where the rest use a colon.
  • rounded-2xl isn't in the design's radius scale and falls back to Tailwind's 16 px, smaller than rounded-xl (18 px), in about ten places.

What should happen

  • Confirm each gap on a device (Windows' contrast themes or Chromium's forcedColors: "active", VoiceOver, a phone), and drop those that aren't real.
  • Focus rings as outlines and dividers as borders wherever forced colors drop them.
  • aria-current="page" on every sidebar row that can be the current page.
  • The phone drawer as a dialog: focus in, Escape out, the page behind inert.
  • Combobox semantics for the ⌘K palette.
  • Arrow keys, a stopped Escape and the top layer for Menu.
  • Hover-only buttons hidden on touch screens; touch targets at least 44 px where they're tapped.
  • A readable pink for text on light (violet), where pink is text.
  • Failed loads that say they failed, with a way to try again; errors that always land somewhere.
  • Dialog closing only on presses that start on the backdrop.
  • The rest as listed above, each fixed or decided against.
  • Each fixed gap removed from its page's Known gaps in hyperstructure/design.

Compatibility

Web app only: nothing for hosts, agents or the control plane.

Decisions for a person

  • Whether to fix these as one piece of work or split it by area (forced colors, keyboard, touch, failures) into issues of their own.

Activity

  1. added
    bug
    web
    on Nov 8, 2026
  2. fctl-sh commented on Nov 8, 2026

    @fctl-sh
    ContributorAuthor

    The design pages these gaps come from are on hyperstructure/design's main now (design#22): each page's Known gaps section has the details, for the app shell, the UI kit, lists, rows and pages, the changes viewer and pages that explain. Fixing one should remove it from its page there.

  3. fctl-sh commented on Nov 9, 2026

    @fctl-sh
    ContributorAuthor

    #497 closes some of these gaps on a project's page, which it restructures (six tabs, Settings in pages):

    • The open tab scrolls into view on a phone (sideways only), on a project's page. A workspace's page still doesn't.
    • An unknown ?tab= opens Sessions, and a page of Settings someone can't see opens Settings, instead of an empty area.
    • The project's tabs set aria-current themselves and match their address exactly, so Sessions no longer reads as current on every tab; their underline turns CanvasText under forced colors.
    • In a project's settings, a switch row's words are a <label> (a press on them turns it) and describe it with aria-describedby. Settings' own switch rows still aren't.
    • In a project's settings and Secrets, every failed save shows somewhere: under the field it names, else in a banner; deleting a secret reports a failure in a toast.
    • A project's settings pages ask before someone leaves them with changes unsaved. Settings' own pages still drop unsaved text.

    Not checked yet on a device or with a screen reader, as the issue asks; the rest of the list is untouched.

  4. fctl-sh commented on Nov 9, 2026

    @fctl-sh
    ContributorAuthor

    #497 is merged (8ec5d22) and deployed to app.fctl.sh. The gaps it closes on a project's page, as listed in my earlier comment, are live:

    • the open tab scrolls into view on a phone;
    • an unknown ?tab= opens Sessions;
    • the tab underline shows in forced colors;
    • switch rows in a project's settings are labels with described hints;
    • the settings pages and Secrets show every failed save.

    The agent's and the CLI's reworded messages (pointing at a project's settings for Tickets) ship with the next release. hyperstructure/design#33 is merged too, and takes those gaps out of the design docs' known gaps.

    None of this issue's checklist items is done in full, so I've ticked none. The rest of the list is untouched: the workspace page's tabs, the sidebar's aria-current, the phone drawer, the ⌘K palette, Menu, touch targets, contrast, the other tabs' failed loads, and the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugweb

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions