Skip to content
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

report(accessibility): add heading role to report category gauges #9422

Merged
merged 1 commit into from
Jul 21, 2019
Merged

Commits on Jul 20, 2019

  1. report(accessibility): Add heading role to report category gauges

    Add role="heading" with aria-level="2" to the report category gauges so
    screen readers can easily identify and navigate the report using headings.
    
    Level 2 was chosen because [Accessibility Insights recommends against
    multiple level 1 headings in the same section of a document][1].
    
    This meets the following WCAG 2.1 success criteria
    1.3.1 Info and Relationships https://www.w3.org/WAI/WCAG21/quickref/#info-and-relationships
    2.4.10 Section Headings https://www.w3.org/WAI/WCAG21/quickref/#section-headings
    
    [1]: https://github.com/microsoft/accessibility-insights-web/blob/900c301e/src/content/adhoc/headings/guidance.tsx#L45-L54
    John Emau committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    13add9e View commit details
    Browse the repository at this point in the history