W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Proposal: ARIA-ROLE & CSS definition integration

From: Justin James <j_james@mindspring.com>
Date: Tue, 3 Jun 2008 18:29:35 -0400
To: <public-html@w3.org>
Message-ID: <036901c8c5c9$4d656c50$e83044f0$@com>

I have another proposal idea for the group. From what I can tell, the
aria-role (or aria:role, depending upon the outcome of the giant
colon/hyphen debate) attribute is for tags only. I propose that it be
possible to define the aria-/:role in CSS. For example:

div.checkbox {
   aria-role: checkbox;
}

<div class="checkbox">Blah blah blah</div>

The div would be treated as if @aria-role="checkbox" had been specified.

Comments?

Thanks!

J.Ja
Received on Tuesday, 3 June 2008 22:30:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT