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: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Wed, 21 Oct 2009 16:00:09 +0200
Message-ID: <4ADF13E9.6040808@xn--mlform-iua.no>
To: Lars Gunther <gunther@keryx.se>
CC: HTMLWG WG <public-html@w3.org>, W3C WAI-XTECH <wai-xtech@w3.org>
Lars Gunther On 09-10-21 14.52:

> 2009-10-21 12:37, Schnabel, Stefan skrev:
>> Id like to see the conformance checker algorithm code that can decide
>> if <a> has been erroneously used instead of <button> in a form- like
>> element grouping 
> Would it not suffice if the validator in its error message complained 
> about the a-element instead of the ARIA role.
> E.g. "ARIA role and element name mismatch. If you intend to use this 
> link as a button, use the button element."

To me, this sounds like a good idea. The effect is that @role has 
higher semantic value than the element.

> Such an error message can be silenced by removing the ARIA role, but its 
> wording is focusing the use of the a-tag, thus encouraging the use of 
> proper markup.
> BTW, I think YUI and JQuery can be evangelized into using button. Does 
> anyone have a link to their bug tracker

leif halvard silli
Received on Wednesday, 21 October 2009 14:00:45 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:01 UTC