Repository navigation
fix(web): screen readers can reach sidebar row actions #13962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a406f7b
8675d6c
76deab8
5dc726e
bc0094c
9e8ac65
3a861c3
ac29bd4
ae3daad
6cdca78
95b0e57
14fab44
b2833d9
d4ee80c
ebb9056
d60984e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2936,9 +2936,8 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve | |
| <SortableContext items={sortableIds} strategy={sidebarSortingStrategy}> | ||
| <ul | ||
| ref={attachListMotionRef} | ||
| // Presentation flattens VoiceOver's list interaction boundary while preserving descendant | ||
| // controls. | ||
| role="presentation" | ||
| // Safari drops list semantics from lists styled without markers. | ||
| role="list" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium
🤖 Copy this AI Prompt to have your agent fix this:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keeping Whether the list is an interaction boundary depends on the VoiceOver user's web navigation setting. Per Apple's guide, lists need interaction under Grouping items but not under DOM order. Under Grouping items, entering a list is the expected way to move through it, as it is for any other list on the web. The VoiceOver pass in Safari and Chrome, under both settings, is still the merge check for this PR. I'm leaving this thread open until that's done. If that pass shows the list gets in the way, we'll revisit it then.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I'm unable to act on this request because you do not have permissions within this repository. |
||
| className={cn( | ||
| "relative flex flex-col gap-px", | ||
| sidebarListItems.length > 0 && "flex-1", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.