bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

[a11y] /privacy page accessibility improvements

Open alexgibson opened this issue 4 months ago • 0 comments

Axe-core® Accessibility Results for /en-US/privacy/

Page URL: https://www-dev.allizom.org/en-US/privacy/

axe-core found 4 violations

# Description Axe rule ID WCAG Impact Count
1 Elements must only use supported ARIA attributes aria-allowed-attr WCAG 2 Level A, WCAG 4.1.2 critical 1
2 Heading levels should only increase by one heading-order Best practice moderate 1
3 All page content should be contained by landmarks region Best practice moderate 2

Failed

  1. Elements must only use supported ARIA attributes

Learn more

aria-allowed-attr

WCAG 2 Level A, WCAG 4.1.2

Ensure an element's role supports its ARIA attributes

critical

Issue Tags: cat.aria wcag2a wcag412 EN-301-549 EN-9.4.1.2

# Issue Description To solve this violation, you need to...
1 Element location

<br>.mzp-c-sidemenu-main<br>

Element source

<br><section class="mzp-c-sidemenu-main" aria-expanded="false"><br>
Fix all of the following:

* ARIA attribute is not allowed: aria-expanded="false"
  1. Heading levels should only increase by one

Learn more

heading-order

Best practice

Ensure the order of headings is semantically correct

moderate

Issue Tags: cat.semantics best-practice

# Issue Description To solve this violation, you need to...
1 Element location

<br>#contact > h4<br>

Element source

<br><h4>Contact Mozilla</h4><br>
Fix any of the following:

* Heading order invalid
  1. All page content should be contained by landmarks

Learn more

region

Best practice

Ensure all page content is contained by landmarks

moderate

Issue Tags: cat.keyboard best-practice

# Issue Description To solve this violation, you need to...
1 Element location

<br>header<br>

Element source

<br><header><br>
Fix any of the following:

* Some page content is not contained by landmarks
2 Element location

<br>.privacy-footnote<br>

Element source

<br><footer class="privacy-footnote"><br>
Fix any of the following:

* Some page content is not contained by landmarks

alexgibson avatar Oct 21 '24 09:10 alexgibson