Re: ARIA's role="" attribute (was Re: [Bug 7509] Consider <dl type="dialog"> instead of <dialog>)

Edward O'Connor On 09-09-10 00.06:

> Hi,
> 
> Toby wrote:
>> Possibly @role could be re-used. (@role isn't just an ARIA attribute, it's
>> intended to be used in other ways too.)
> 
> You may be confusing ARIA's role="" attribute with the XHTML Role
> Attribute Module. 



The XHTML Vocabulary profile[1] presents it like this:

 3. XHTML Role Vocabulary
 3.1 Items from the XHTML Role Module
 3.2 Items from the Accessible Rich Internet
             Applications Vocabulary

> They are separate, distinct attributes. 


ARIA role vocabulary, and XHTML role vocabulary. Same attribute.

> Insofar as the
> current HTML5 draft goes, role=""'s sole use within HTML is for
> specifying ARIA roles on elements.

If Toby's proposal is taken up, then that will not longer be true.

> Microdata or the class="" attribute can both be used to annotate HTML
> elements with more specific semantics than their native semantics
> provide.

If - say - AT software is supposed to recognize something as a 
dialog, then neither of those a likely to be enough.

[1] http://www.w3.org/1999/xhtml/vocab/
-- 
leif halvard silli

Received on Thursday, 10 September 2009 01:03:30 UTC