W3C home > Mailing lists > Public > public-html@w3.org > February 2013

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

From: Edward O'Connor <eoconnor@apple.com>
Date: Mon, 18 Feb 2013 12:30:05 -0800
To: public-html@w3.org
Message-id: <m2lialtlf6.fsf@eoconnor.apple.com>
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.

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:31 UTC