WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG guideline for too much ARIA

for

From: glen walker
Date: Dec 18, 2018 5:50AM


There's not a specific WCAG success criteria regarding ARIA but if you look
at the "First rule of ARIA use" at https://www.w3.org/TR/aria-in-html/#rule1,
it basically says if you can use native html semantics, then do so. That
is, don't use ARIA if you can help it.

For example, use <h2>Important Section<h2> rather than <div class="bigfont"
role="heading" aria-level="2" aria-label="important section"></div>

Other than that, if your use of ARIA causes issues with any WCAG success
criteria, then you'd have a normal accessibility issue. In your example,
if headings are not read properly, it would be a 1.3.1 issue. It doesn't
matter if it's a bad heading because of ARIA or just a poorly organized
site.

Glen