Re: Is there an aria-level=0 ?

Hi all,

I have been mulling over whether a heading role without an explicit level
set could be used as an indicator of a generic "subheading" semantic.

thoughts?

with regards

SteveF <http://www.paciellogroup.com/resources/wat-ie-about.html>
--
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
<http://www.paciellogroup.com/resources/wat-ie-about.html>


On 13 March 2013 00:04, James Craig <jcraig@apple.com> wrote:

> I don't have a strong preference one way or the other, but it seems like
> this should be raised as an issue on the UAIG.
>
> On Mar 12, 2013, at 2:57 PM, Leif Halvard Silli <
> xn--mlform-iua@xn--mlform-iua.no> wrote:
>
> > WAI-ARIA 1.0 says about aria-level: [1] "The value for aria-level is an
> > integer greater than or equal to 1." And about role=heading, it says:
> > [2] "If headings are organized into a logical outline, the aria-level
> > attribute may be used to indicate the nesting level."
> >
> > However, which level does a role="heading" element without an
> > aria-level="*" attribute have? According Firefox+VoiceOver, it has
> > level zero. But according to Safari+VoiceOver, it has level one. I have
> > not checked other ATs. Should a level be announced at all?
> >
> > Tested on this example:
> >
> >    <foo role="heading">
> >           Lorem Ipsum.
> >    </foo>
> >
> > [1] http://www.w3.org/TR/wai-aria/states_and_properties#aria-level
> > [2] http://www.w3.org/TR/wai-aria/roles#heading
> > --
> > leif halvard silli
> >
>
>
>

Received on Wednesday, 13 March 2013 11:22:40 UTC