Open alundgard opened 1 month ago
The different view types are actually different web pages. Note the view
parameter is changed in the url:
https://exhibits.stanford.edu/a11y-for-soda/browse/san-francisco-buildings?view=list https://exhibits.stanford.edu/a11y-for-soda/browse/san-francisco-buildings?view=gallery
The different view types are actually different web pages.
Thanks, I see that selecting filters from the sidebar has the same issue.
Current behavior
Selecting a view type or filter using the keyboard or screen reader shifts the focus back to the top of the page.
Steps to reproduce
Example page: Spotlight Accessibility for SODA - San Francisco Buildings.
Navigate to the view type buttons with the keyboard or screen reader and make a selection. Also, navigate to the sidebar filters and make a selection.
Possible solution
WCAG Level A: Understanding Success Criterion 3.2.1: On Focus.
SODA recommends moving the focus to the beginning of the updated content (in this case, the exhibit items). Doing so would mean jumping over the Search input field, which sits between the view options and exhibit items. Or, when selecting a filter from the sidebar, focus would jump across sections of the page.
Another possibility may be to leave focus in its current position (at the view type button or sidebar filter), but with an indication that it has been selected (see #2472).
Reported by SODA