Re: CLASS and ROLE

Hi Ben,

> Where the ROLE attribute is defined, e.g. XHTML2, its value is also
> CURIEs, thought this time it yields an xh2:role assertion (with xh2 the
> XHTML2 namespace). The subject resolution is identical to that of the
> CLASS attribute. As there is no "backwards compatibility" issue with
> this attribute, all values yield triples
>
> e.g.
>
> <div role="wai:Menu nav">
> ...
> </div>
>
> yields
>
> _:div0 xh2:role wai:Menu .
> _:div0 xh2:role :nav .

@role is already being used in non-XHTML 2 environments, and is even
supported in Firefox already:

  <http://developer.mozilla.org/en/docs/Accessible_DHTML>

This does seem to be getting some interest, so the genie may already
be out of the bottle. :) This post last year refers to the potential:

  <http://semantichumanities.wordpress.com/2006/08/22/accessibility-vs-semantic-markup/>

And this one is as usual for the 'A List Apart' blog, a very thorough
discussion:

  <http://www.alistapart.com/articles/waiaria>

Regards,

Mark


-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.

Received on Tuesday, 17 April 2007 02:21:02 UTC