Proposal: ARIA-ROLE & CSS definition integration

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 UTC