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: Smylers <Smylers@stripey.com>
Date: Mon, 9 Nov 2009 20:11:52 +0000
To: HTMLWG WG <public-html@w3.org>
Message-ID: <20091109201152.GJ2892@stripey.com>
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)?

Smylers
-- 
http://twitter.com/Smylers2
Received on Monday, 9 November 2009 20:12:21 UTC

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