WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: HTML5 and iOS VoiceOver

for

From: Bourne, Sarah (ITD)
Date: Nov 29, 2012 1:48PM


Bryan, do you think that is because the ARIA role is superseding (and suppressing) the native OL/LI role?

sb

Sarah E. Bourne
Director of Assistive Technology &
Mass.Gov Chief Technology Strategist
Information Technology Division
Commonwealth of Massachusetts
1 Ashburton Pl. rm 1601 Boston MA 02108
617-626-4502
<EMAIL REMOVED>
http://www.mass.gov/itd


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Bryan Garaventa
Sent: Thursday, November 29, 2012 3:21 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] HTML5 and iOS VoiceOver

I was referring to Voiceover feedback in iOS devices, but adding these attributes to a standard list element doesn't appear to work properly in JAWS and IE for instance.

E.G


<ol>
<li>
Apple
</li>
<li>
Orange
</li>
<li>
Banana
</li>
</ol>

<ol role="list">
<li role="listitem" aria-setsize="3" aria-posinset="1"> Apple </li> <li role="listitem" aria-setsize="3" aria-posinset="2"> Orange </li> <li role="listitem" aria-setsize="3" aria-posinset="3"> Banana </li> </ol>

If you try this, JAWS announces the numbers correctly on the standard OL tag, but not on the ARIA marked up tag.