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 21:27:50 +0000
To: HTMLWG WG <public-html@w3.org>
Message-ID: <20091109212750.GK2892@stripey.com>
Leif Halvard Silli writes:

> Smylers On 09-11-09 21.11:
> 
> > Lars Gunther writes:
> >
> > > <a role="button"> should be forbidden when hard-coded onto the
> > > page for  these reasons:
> > >
> > > 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.

How it looks matters for this scenario, pointed out by Stefan Schnabel,
where instructions say "press the button".  Even if that button is
merely a restyle link, and all it's doing is making a navigation
request, users will be consider it be a button:

  http://lists.w3.org/Archives/Public/public-html/2009Oct/0699.html

Smylers
-- 
http://twitter.com/Smylers2
Received on Monday, 9 November 2009 21:28:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:40:52 GMT