-
Notifications
You must be signed in to change notification settings - Fork 95
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
Accessibility of tab key / keyboard navigation #1049
Comments
Here are the tab orders proposed for various page types, copied from their respective issues: Front page #1036:
Vocabulary page #1037:
Concept page #1038:
Search result page #1039:
What I find confusing here is that the order is quite different for the different page types. For example the top menu is in a different position in each list. I would expect that some kind of consistency would be useful here for all users, even though the page types do have differences in their usage patterns that may have to be considered. Maybe @miguelahonen can explain the reasoning behind those order definitions? |
The main reasons (questions) why the tab ordering varies between different pages are:
I can specify the reasons more during the sprint meetings |
It is possible to specify an explicit tab order that differs from the HTML/DOM structure by specifying positive
(source: https://webaim.org/techniques/keyboard/tabindex#tabindex) My gut instinct would be to keep the tab order close (if not identical) to the order of elements on the page. |
Decision in sprint daily 2020-09-03: The tab order will be the same for all four page types. Developers agree on an order that takes into account both users and technology. Given that decision, the task is to check that the current DOM-based tab order is sensible and in case it isn't, reorder some structural elements. We don't want to rely on explicit |
We also have tab-related accessibility problems for keyboard-only users. The current CSS styling does not highlight the currently active link / form element in any way when using the Tab key to navigate. Here is a good tutorial about these issues: https://webdesign.tutsplus.com/articles/keyboard-accessibility-tips-using-html-and-css--cms-31966 So apart from the tab order (which ideally doesn't need to be changed at all), we must ensure that keyboard-only navigation using Tab key is possible, which requires at least some CSS tweaks. It would also be good to make the "Skip to main content" link visible when a user presses Tab. |
Tab order is one of the accessibility improvements requested in issues #1036, #1037, #1038, #1039.
The tab order should allow visiting every interactive element on the page in a logical order. When the order differs from the order the elements appear in HTML, the
tabindex
attribute can be used to set an explicit order.The autofocus functionality on the search box should probably be disabled (see #1048) before the tab order can be meaningfully adjusted.
The text was updated successfully, but these errors were encountered: