-
Notifications
You must be signed in to change notification settings - Fork 3
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
Sidebar a11y updates: <aside>, aria-label #1437
Comments
Also, if it's easy enough, "Also available at" and "Item belong to a collection" should be in the same gray box. See this Figma design - https://www.figma.com/design/nkgg905s5FyXoyPZjVMco0/EarthWorks?node-id=517-18605&t=N5nCgaAU3Yv8eOEv-4. |
Opened projectblacklight/blacklight#3423 in blacklight to partially address this. |
This refactors the sidebar component to make it easier to determine what is being rendered in each of the two sections and to render it without accidentally duplicating the divider elements. It also ensures that items that should be grouped together in the second section are displayed in a single box, as noted in #1437. Fixes #1437
This refactors the sidebar component to make it easier to determine what is being rendered in each of the two sections and to render it without accidentally duplicating the divider elements. It also ensures that items that should be grouped together in the second section are displayed in a single box, as noted in #1437. Fixes #1437
I forgot to backport this 🤦🏻 opened projectblacklight/blacklight#3458 to get it into blacklight 8.x. |
Because we have a sidebar on the left, the H1 is not seen/read first. We discussed this with SODA and they agreed that a left sidebar is a very common pattern (and in fact used on the WCAG site). Also, it appears under the category of "best practice" in SiteImprove, so it's not as important as an A or AA error. It also doesn't show up in Axe.
All that said, SODA suggested it would be improved by making the entire sidebar area an
<aside>
and giving it an aria-label that describes it, such as "Download, export and other options."The text was updated successfully, but these errors were encountered: