Re: ARIA roles added to the a element should be conforming in HTML5.

2009-10-21 18:42, Shelley Powers skrev:
> Here's a likely scenario where we would want to use a role of "button"
> for a link.

Wouldn't you add the ARIA role as well using JavaScript in that case? 
Since it would be lying to AT readers to have the ARIA role hard-coded, 
if JS is disabled.

If added with JS, *the validator* won't complain.

However, your example proves that *the spec* should allow usage of 
dynamically created ARIA roles in ways that hard coded ARIA roles should 
not be allowed to be used.



-- 
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/

Received on Thursday, 22 October 2009 22:01:45 UTC