accessibility bug & proposed fix pre-check #3978
RMattB
started this conversation in
Ideas + Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I think I have found an accessibility bug and idea for a valid fix for the Hydrogen skeleton template.
(Bringing this up here first to see if I've covered all the bases before filing an issue/PR. I did not find any related issues or discussions.)
Conditions:
Steps:
"The
<main>element ... identifies the main content for the page.""The Algorithm... in English"
"A
<main>element or role="main"is present."(This tool does not show an error or alert, but does show that there is >1
<main>element.)"Main landmark should not be contained in another landmark"
"Document should not have more than one main landmark"
<main>Expected
the screen reader to read 1
<main>element indicating THE body of the pageActually
the screen reader found and read 4
<main>elements; this has unclear meaningWCAG / guidelines doc
<aside>element does not require an additional semantic wrapper inside of it, ex: https://html.spec.whatwg.org/multipage/sections.html#the-aside-element:~:text=other%20side%20contentProposed fix diff
Does that sound reasonable for filing an issue?
Thanks!
Matt
All reactions