Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: an agent card is no longer a button around buttons

The card row had role=button and tabindex=0 and held the terminal button, the
wanted menu and the login button, which axe reports as nested interactive
controls and which a screen reader can't walk. The row is no control now; the
agent's name is a real button, so Tab, Enter and Space open the agent, and a
press anywhere on the card still does. Picking stays one checkbox per card.
This commit is contained in:
iris 2026-11-28 02:24:37 +01:00 • committed by mara
commit c77904362d

View file

@ -140,7 +140,7 @@ paused, destroy), a **paused by hive** badge when the agent's own harness paused
its turn loop (hover for the reason; set the agent **up** to resume it), and a
**login needed** badge with a **log in** button when its claude has no session.
Select a card to open the agent's details. The address becomes `/agents/<name>`,
Select a card to open the agent's details; from the keyboard, **Tab** to the agent's name and press **Enter** or **Space**. The address becomes `/agents/<name>`,
so a link or a reload lands on the same agent, and the browser's back and
forward buttons walk through the selections. Until you select an agent the list
takes the whole width, in the shell's 90em column. Selecting one narrows the