-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve heading semantics #181
Comments
I've looked into this a little bit. There are two problems:
I'll have a commit for #1 in a second. #2 is a little trickier. I think there's value to having markup that isn't shown visually, but axe thinks that such a situation is bad for accessibility. |
While fixing #2, I'd like to spend some more time going through the site with HeadingsMap. There are some other minor issues. For example, the headings in the footer are set as |
Yes, I use the aXe Firefox/Chrome plugins directly, or sometimes indirectly via the lighthouse or webhint (formerly sonarwhal) scanners. |
aXe is telling me on https://metrics.mozilla.com/protected/usage-report-demo/dashboard/user-activity that "Heading levels should only increase by one". I think this is because we have an
<h3>
👉<h5>
, but not an intermediate<h4>
tag.I reckon we should possibly bump this from an H5 to an H4:
ensemble/src/components/views/MetricOverview.js
Line 91 in 9ebbb3d
The text was updated successfully, but these errors were encountered: