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

> That may look like a button but it still
> *is* a link and should not have a button ARIA role.

Don't style example below as Button. That's the very point.

Button = Action (Navigation only context-bound, i.e. opening of a related window)
Link = Navigation

Given that, assigning role="button" to an <a> that does "pure" navigation is nonsense.
It should be styled as link and should have a role of link.

- Stefan

-----Original Message-----
From: wai-xtech-request@w3.org [mailto:wai-xtech-request@w3.org] On Behalf Of Lars Gunther
Sent: Donnerstag, 22. Oktober 2009 22:58
To: wai-xtech@w3.org
Cc: Shelley Powers; HTMLWG WG; W3C WAI-XTECH
Subject: Re: ARIA roles added to the a element should be conforming in HTML5.

2009-10-21 15:46, Tab Atkins Jr. skrev:
> Sometimes making a link into a button seems to be the correct choice.
> If I want the styling of a button, but I want clicking it to just
> navigate you to another page, I can restyle an<a>  to look like a
> button

That may look like a button but it still
*is* a link and should not have a button ARIA role.

-- 
Lars Gunther
http://keryx.se/

http://twitter.com/itpastorn/

http://itpastorn.blogspot.com/

Received on Friday, 23 October 2009 06:58:46 UTC