Replies: 1 comment 1 reply
|
I read the sidebar implementation before commenting, and I think there are two questions here that have been treated as one. Furo already does more than the thread implies. What is missing is expansion state, not focusability. There is no The real question is which pattern, and I would push back on the one implied above. Arrow keys point at the APG Treeview pattern, which makes the sidebar a single composite widget with one tab stop and a roving tabindex, needs real JavaScript, and changes how every Furo site behaves. The APG's Disclosure Navigation pattern is much closer to what Furo already has: For documentation sidebars I think disclosure is usually right and treeview is over-applied. People scan and click links there; it is not a file explorer. But that is a judgement about your users. If disclosure is a direction you would accept, I am happy to do it and to test with NVDA and VoiceOver rather than assert it works. If you would rather not change the pattern, that is a fine answer, and having it written here would help: this has been quiet since April while the same request keeps resurfacing in For context, I ran the US federal government's open source program office and spent much of it on Section 508 and WCAG conformance. Not looking to relitigate the design, only to help if the answer is yes. |
Uh oh!
There was an error while loading. Please reload this page.
Originally posted as python/devguide#1785 and redirected here.
Describe the enhancement or feature you would like
The discussion about keyboard shortcuts python/devguide#1784 (comment) revealed that there are might expectations about arrow keys to the collapsible tree items.
From ARIA Guide.
The implementation should add a local keyboard shortcut to left/right keys similar to global one defined for page navigation here https://github.com/sphinx-doc/sphinx/blob/cc7c6f435ad37bb12264f8118c8461b230e6830c/sphinx/themes/basic/static/doctools.js#L106 that should do the ARIA thing.
I suggest we find real ARIA users who can define what the right ARIA thing should do and help test it.
Additional context
All reactions