WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Submitting forms via javascript: Button vs. link vs. other?

for

From: ben morrison
Date: Dec 4, 2009 8:12AM


On Fri, Dec 4, 2009 at 2:59 PM, Moore,Michael (DARS)
< <EMAIL REMOVED> > wrote:
> We have found usability problems caused for screen reader users when links are styled to look like buttons. The basic scenario goes like this.
...
>
> Buttons really need to be buttons.

Exactly, why reinvent what actually works for everyone - what with the
current browser support for CSS button styling you should be able to
achieve almost any design required,
you will loose the :hover state in IE - but its a small price - you
could always add some JS to insert a simple hover class on rollover if
client requests...

ben
--
Ben Morrison