Re: using the data* attribute to identify element sub roles

Hi Steve,

You wrote:

> allow the data attribute [1] to be used to identify element sub roles:
>
> examples:
>
> <h1>heading</h1>
> <p data-p="subheading">subheading</p>
[…]

What's a sub role?

Are you trying to express WAI-ARIA's super/subclass role relationships?
If so, I think it would be best to raise the need for an aria-subrole=""
attribute with the folks working on WAI-ARIA.

If that's not what you meant, what do you mean? Wildly guessing based on
the examples in your email, it seems like you're asking for the ability
for an author to imbue elements with author-defined semantics. Authors
can already do this sort of thing with the class="" attribute (e.g. with
Microformats), Microdata, and RDFa.


Ted

Received on Monday, 18 February 2013 20:30:59 UTC