W3C home > Mailing lists > Public > public-html@w3.org > October 2009

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

From: Lars Gunther <gunther@keryx.se>
Date: Fri, 23 Oct 2009 00:39:44 +0200
Message-ID: <4AE0DF30.2060107@keryx.se>
To: Shelley Powers <shelley.just@gmail.com>
CC: HTMLWG WG <public-html@w3.org>, W3C WAI-XTECH <wai-xtech@w3.org>
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:40:29 GMT

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