WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Duplicate html5 structural elements with aria roles?

for

From: Steve Faulkner
Date: Feb 8, 2016 9:16AM


Hi Mickey,

suggest reading On HTML belts and ARIA braces
<http://html5doctor.com/on-html-belts-and-aria-braces/>;

--

Regards

SteveF
Current Standards Work @W3C
<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>;

On 8 February 2016 at 16:06, Mickey Williamson <
<EMAIL REMOVED> > wrote:

> I recently was told by an accessibility professional that if you're using
> the HTML5 structural elements like header, footer, main, etc. that you
> should NOT also be using the corresponding aria role attribute because aria
> will override the native html. Don't know if that was for all of the
> structural elements or just specific ones.
>
> So, <header role="banner"> is bad. Just use <header>.
>
> But then I also recently read that it's better to include the role
> attribute...because I don't remember why! Because older browsers don't
> support the html5 elements?? And I can't find the article where I read it
> now.
>
> So, what's best to do? Include the role for structural elements or not
> include the role?
>
> Thanks,
> Mickey
> > > > >