Opened 7 years ago
Closed 7 years ago
#42056 closed enhancement (fixed)
Twenty Seventeen: role="complementary" are missing labels
Reported by: | sami.keijonen | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | 4.8.2 |
Component: | Bundled Theme | Keywords: | |
Focuses: | accessibility | Cc: |
Description
From the quidelines:
If a particular role appears more than once on a page, you should provide an ARIA label for that role
We do this already for <navigation>
but not for <aside>
. Just like navigation there can be several <aside role="complementary">
in the theme and we should provide labels for them. Otherwise screen readers would announce 2 "complementary" regions without knowing the separation of them
https://cloudup.com/cOjsuxTbf1E
I propose that we add labels to <aside>
with the same as widget names:
- Blog Sidebar
- Footer 1
- Footer 2
Added a patch and finding good wording is super hard in this case because you don't know what kind of widgets there will be.
For now I added
Here is screenshot after the patch.