WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Duplicate html5 structural elements with aria roles?

for

From: Mickey Williamson
Date: Feb 9, 2016 8:02AM


Thank you, Steve and Leonie! Good info.

Mickey

On Mon, Feb 8, 2016 at 11:16 AM, Steve Faulkner < <EMAIL REMOVED> >
wrote:

> 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
> > > > > > > > > >
> > > > >



--


Michelle Williamson
Drupal Developer
T 678.580.1690 x205 F 770.360.5776
twitter <http://twitter.com/micnap>; ' linkedin
<http://www2.mediacurrent.com/l/10072/2012-03-23/3qknq>; ' mediacurrent
<http://www2.mediacurrent.com/l/10072/2012-03-23/3qkpd>;

Awarded Best SMB
<https://t.yesware.com/tl/6228584989751eec7f7efd759b5a3987de150a8e/2db8247480f6e405a199c3227c223214/40a213898e1bbb2949c481a66986bb61?ytl=http%3A%2F%2Fwww.mediacurrent.com%2Fblog%2Fdrupal-agency-mediacurrent-awarded-best-overall-smb-salesforce>
by Salesforce.com