Quick Tip from WebAIM – Just use a button

Key in the shape of the word AccessMany modern web sites and applications often provide components that function as buttons, but are not marked up as true button elements. Native buttons provide excellent accessibility – native keyboard focus indicators, keyboard activation, proper screen reader semantics, etc. When any other element is used with JavaScript to trigger button-like functionality, it requires notable effort to provide reasonable accessibility. If your interface element functions like a button, just use a standard button element, then use CSS to style it to taste.

For more information about web accessibility, please visit the WebAIM website.External link

See also information about how you can subscribe to the monthly WebAIM Newsletter which contains lots of great information about web accessibility.