E-mail List Archives
Re: Form Submit or Button versus link (href) with action
From: Michael.Moore
Date: Nov 8, 2010 7:54AM
- Next message: Cliff Tyllick: "Re: external links & new windows"
- Previous message: Jared Smith: "Re: external links & new windows"
- Next message in Thread: None
- Previous message in Thread: Terrill Bennett: "Re: Form Submit or Button versus link (href) with action"
- View all messages in this Thread
On Sat, Nov 6, 2010 at 11:32 AM, Susan Grossman wrote:
> I do wonder though if there is a way to tell JAWS that the href is acting
> as a button so the "b" will work?
Jared replied
<a role="button" ...>
That will do the trick in ARIA supported screen reader and browser combinations.
Mike Notes,
This is still not a semantically correct option and will cause issues particularly in complex enterprise level web applications. Best practice is to use buttons for things that look like buttons and links for things that look like links. ARIA roles are quite useful but semantic meaning should still be present to allow for graceful degradation.
- Next message: Cliff Tyllick: "Re: external links & new windows"
- Previous message: Jared Smith: "Re: external links & new windows"
- Next message in Thread: None
- Previous message in Thread: Terrill Bennett: "Re: Form Submit or Button versus link (href) with action"
- View all messages in this Thread