Conversation
Documentation build overview
|
|
Nice little shortcut, but I'm concerned this will interfere with keyboard handling for people using assistive tech such as screen readers. https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/ includes:
https://webaim.org/techniques/keyboard/ has examples where |
|
@hugovk now this gets tricky - DevGuide actually uses collapsible navigation tree for menu, but.. it doesn't conform to the guidelines itself. I tried several way to expand it on https://devguide.python.org/getting-started/ - right/left/space don't work, tab focus doesn't jump to down arrow. Enter just navigates to the section index page. So the menu tree is not ARIA compatible, and enabling keyboard navigation won't break it. If somebody decides to make the devguide tree element ARIA compatible, the setting doesn't prevent more specific key handler to do the ARIA thing and prevent default popping to more generic document handler, where the shortcuts are defined. |
This makes it easy to browse the doc without mouse.
https://pradyunsg.me/furo/customisation/#navigation-with-keys