Justin James 2008-06-04 19.42: > I think you hit the *exact* same1 realization as I did yesterday. This is > the heart of my proposal, which is to let the class (or ID, or whatever the > appropriate CSS definition is) contain the ARIA information. Actually, no. I suppose you refer to this proposal [1]: > 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. [...] You move the aria behaviour out of HTML and into CSS. I keep everything inside HTML, with a special syntax for the single aria attribute that I proposed (to replace aria-*). Class="Checked-true" tells a User Agent nothing. Whereas aria="checked-true" tells what is needed and gives a hook that can replace class="checked-true" entirely and easily - it is DRY [2]. Your proposal would not make the ARIA values available as selectors. And some ARIA properties can list more than one ID, and it is unhandy to have such info in a separate document. [1]http://www.w3.org/mid/036901c8c5c9$4d656c50$e83044f0$@com [2]http://c2.com/cgi/wiki?DontRepeatYourself -- leif halvard silliReceived on Wednesday, 4 June 2008 21:32:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:56:15 GMT