WebAIM - Web Accessibility In Mind

E-mail List Archives

Fourth rule of aria > aria-hidden

for

From: Fernand van Olphen
Date: Jan 22, 2018 2:21AM


Hi everyone,

According to the fourth rule of ARIA, you shouldn't use aria-hidden="true" on a visible focusable element.

So, this markup is a violation:

<button aria-hidden="true">press me</button>

What about the next markup?

<div aria-hidden="true">
(some other markup ...)
<button>press me</button>
(some other markup ...)
</div>

In this case aria-hidden="true" is used on the container div, and the visible focusable element sits inside it. Is this also a violation of the fourth rule?


Kind regards,
Fernand van Olphen
Accessibility Advisor
Municipality of The Hague,
www.denhaag.nl<;http://www.denhaag.nl>;

De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op: http://www.denhaag.nl/disclaimer