WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: ARIA landmark roles and HTML 5 sectioning elements

for

Number of posts in this thread: 4 (In chronological order)

From: Alan Zaitchik
Date: Thu, Jul 23 2020 6:43AM
Subject: ARIA landmark roles and HTML 5 sectioning elements
No previous message | Next message →

With recent releases of JAWS, NVDA, and VoiceOver and recent releases of Chrome, Firefox, and Safari, is there any benefit from doubling up with code like <nav role="navigation"> or <footer role="contentinfo"> or even <form="form" >? Are there (still) some popular screen reader-browser combinations, perhaps on mobile devices, that benefit from having both HTML5 elements and also the ARIA roles? (I mean, of course, just in those cases where you do have equivalence.) Is there a downside to doubling up?
Thanks,
Alan

> On Jul 22, 2020, at 14:01, = EMAIL ADDRESS REMOVED = wrote:
>
> Send WebAIM-Forum mailing list submissions to
> = EMAIL ADDRESS REMOVED =
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://list.webaim.org/mailman/listinfo/webaim-forum
> or, via email, send a message with subject or body 'help' to
> = EMAIL ADDRESS REMOVED =
>
> You can reach the person managing the list at
> = EMAIL ADDRESS REMOVED =
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WebAIM-Forum digest..."
> Today's Topics:
>
> 1. Don't miss an opportunity to learn all about free resources
> at W3C/WAI (Sharron Rush)
> 2. section 508 for a federal contract for technical support
> (Peter Shikli)
> 3. Re: Carousels again (Mallory)
> 4. Re: Carousels again ( = EMAIL ADDRESS REMOVED = )
> 5. FW: Online Courses on Accessible Web Design - Summertime
> Suggestions? (Morin, Gary (NIH/NCI) [E])
> 6. Re: section 508 for a federal contract for technical support
> (Ryan E. Benson)
> 7. Re: FW: Online Courses on Accessible Web Design - Summertime
> Suggestions? (Colleen Gratzer)
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> > > >

From: Andrews, David B (DEED)
Date: Thu, Jul 23 2020 7:27AM
Subject: Re: ARIA landmark roles and HTML 5 sectioning elements
← Previous message | Next message →

The first rule of ARIA is only use ARIA when you can't do something via HTML.

Dave



-----Original Message-----
From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Alan Zaitchik
Sent: Thursday, July 23, 2020 7:44 AM
To: = EMAIL ADDRESS REMOVED =
Subject: [WebAIM] ARIA landmark roles and HTML 5 sectioning elements

This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.


With recent releases of JAWS, NVDA, and VoiceOver and recent releases of Chrome, Firefox, and Safari, is there any benefit from doubling up with code like <nav role="navigation"> or <footer role="contentinfo"> or even <form="form" >? Are there (still) some popular screen reader-browser combinations, perhaps on mobile devices, that benefit from having both HTML5 elements and also the ARIA roles? (I mean, of course, just in those cases where you do have equivalence.) Is there a downside to doubling up?
Thanks,
Alan

> On Jul 22, 2020, at 14:01, = EMAIL ADDRESS REMOVED = wrote:
>
> Send WebAIM-Forum mailing list submissions to
> = EMAIL ADDRESS REMOVED =
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.
> webaim.org%2Fmailman%2Flistinfo%2Fwebaim-forum&amp;data%7C01%7Cdavi
> d.b.andrews%40state.mn.us%7C0ef63dbd530f42f63d1708d82f060c2f%7Ceb14b04
> 624c445198f26b89c2159828c%7C0%7C0%7C637311050307715240&amp;sdata=kcOAS
> NFGEtmSsOwNit%2F5z3bClBjIagjPI7528IAatQg%3D&amp;reserved=0
> or, via email, send a message with subject or body 'help' to
> = EMAIL ADDRESS REMOVED =
>
> You can reach the person managing the list at
> = EMAIL ADDRESS REMOVED =
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WebAIM-Forum digest..."
> Today's Topics:
>
> 1. Don't miss an opportunity to learn all about free resources
> at W3C/WAI (Sharron Rush)
> 2. section 508 for a federal contract for technical support
> (Peter Shikli)
> 3. Re: Carousels again (Mallory)
> 4. Re: Carousels again ( = EMAIL ADDRESS REMOVED = )
> 5. FW: Online Courses on Accessible Web Design - Summertime
> Suggestions? (Morin, Gary (NIH/NCI) [E])
> 6. Re: section 508 for a federal contract for technical support
> (Ryan E. Benson)
> 7. Re: FW: Online Courses on Accessible Web Design - Summertime
> Suggestions? (Colleen Gratzer)
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> <mime-attachment>
> > > https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flist.
> webaim.org%2F&amp;data%7C01%7Cdavid.b.andrews%40state.mn.us%7C0ef63
> dbd530f42f63d1708d82f060c2f%7Ceb14b04624c445198f26b89c2159828c%7C0%7C0
> %7C637311050307715240&amp;sdata=bL7lyFDUUo0YkCLkLx9WBWDhNQMLLv9d1PGYu2
> gb094%3D&amp;reserved=0 List archives at
> https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwebai
> m.org%2Fdiscussion%2Farchives&amp;data%7C01%7Cdavid.b.andrews%40sta
> te.mn.us%7C0ef63dbd530f42f63d1708d82f060c2f%7Ceb14b04624c445198f26b89c
> 2159828c%7C0%7C0%7C637311050307715240&amp;sdata=XgnltFLE3iE%2FhLzXt4Cr
> nzOTZEWdt3wleHtRM9NSQLk%3D&amp;reserved=0
>

From: Patrick H. Lauke
Date: Thu, Jul 23 2020 7:56AM
Subject: Re: ARIA landmark roles and HTML 5 sectioning elements
← Previous message | Next message →

On 23/07/2020 14:27, Andrews, David B (DEED) wrote:
> The first rule of ARIA is only use ARIA when you can't do something via HTML.

Of course, the "rule" is essentially a best practice recommendation. And
this answer bypasses the actual question: is explicitly adding the same
ARIA role that the element has natively anyway a problem or not? It was
done in the past for some user agents that didn't have the correct
native role assignment (for instance, IE11 not recognising <main>
element, so needed an extra helping hand with <main role="main">).

More recently, Safari/VO still has a problem where an <img> with an SVG
source is not exposed as an actual image, which can be remediated with
an arguably redundant role="img".
https://bugs.webkit.org/show_bug.cgi?id=187695

In answer to the original question, I'd say: it's probably more a case
of "it's pointless/redundant to do it nowadays" (depending on which
browsers you're targetting ... if you are still seeing/expecting traffic
from a lot of *really* old browsers, then it may well be necessary).
But it doesn't do any harm per se.

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke

From: Laura Fathauer
Date: Thu, Jul 23 2020 7:58AM
Subject: Re: ARIA landmark roles and HTML 5 sectioning elements
← Previous message | No next message

What patrick said!

This used to be recommended particularly for IE compatibility, so
you'll probably continue to see this in the wild for some time.

On Thu, Jul 23, 2020 at 9:27 AM Andrews, David B (DEED)
< = EMAIL ADDRESS REMOVED = > wrote:
>
> The first rule of ARIA is only use ARIA when you can't do something via HTML.
>
> Dave
>
>
>
> -----Original Message-----
> From: WebAIM-Forum < = EMAIL ADDRESS REMOVED = > On Behalf Of Alan Zaitchik
> Sent: Thursday, July 23, 2020 7:44 AM
> To: = EMAIL ADDRESS REMOVED =
> Subject: [WebAIM] ARIA landmark roles and HTML 5 sectioning elements
>
> This message may be from an external email source.
> Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.
>
> >
> With recent releases of JAWS, NVDA, and VoiceOver and recent releases of Chrome, Firefox, and Safari, is there any benefit from doubling up with code like <nav role="navigation"> or <footer role="contentinfo"> or even <form="form" >? Are there (still) some popular screen reader-browser combinations, perhaps on mobile devices, that benefit from having both HTML5 elements and also the ARIA roles? (I mean, of course, just in those cases where you do have equivalence.) Is there a downside to doubling up?