fix(a11y): DisabledLinkRow uses non-semantic aria-disabled on div #1149
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/agent-hooks#1149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a keyboard/screen-reader user, I want disabled menu items to be semantically correct, so that assistive technology communicates their state accurately.
Location
apps/web/src/components/avatar-menu.tsx:373DisabledLinkRowrendersaria-disabled="true"on a plain<div>. A<div>witharia-disabledis informational only — it does not prevent focus or interaction and is not announced consistently by screen readers.Acceptance criteria
Fix
<div aria-disabled="true">with either:<button disabled>styled to look like a list item, or<div role="listitem" aria-disabled="true">withtabIndex={-1}and keydown guardTests
just qapassesOut of scope
role="radio"on<button>— already acceptable with existingbiome-ignoreannotation)