W3C home > Mailing lists > Public > public-html@w3.org > November 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: Mon, 09 Nov 2009 21:49:53 +0100
Message-ID: <4AF88071.8020205@xn--mlform-iua.no>
To: HTMLWG WG <public-html@w3.org>
Smylers On 09-11-09 21.11:

> Lars Gunther writes:
> 
>> 2009-11-08 03:41, Jonas Sicking skrev:
>>
>>> The harm that I see is loosing the ability to have a clear message
>>> for what the right way to do things is.
>> This was my fear as well when I tried to suggest a middle ground for
>> this issue. Since it was a awhile I'll repeat myself.
>>
>> <a role="button"> should be forbidden when hard-coded onto the page
>> for  these reasons:
>>
>> 1. It is sloppy markup. Conformant HTML should be the best possible.
>>
>> 2. It is possibly confusing if JavaScript is turned off, since it will
>> not act as a button in that case.
> 
> What if it has CSS which makes it look like a button (even without
> JavaScript)?

First I thought: Stupid question. How it looks should not matter. 
However, if it is made to look like that because it function like 
a button, together with AJAX, then perhaps how it looks does matter.
-- 
lh
Received on Monday, 9 November 2009 20:50:33 UTC

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