Mobile app version of vmapp.org
Login or Join
Sent6035632

: Identify keys bound to website buttons After running my site through powermapper tools, they present this issue: All ONCLICK handlers should have an equivalent ONKEYPRESS handler. Section

@Sent6035632

Posted in: #Accessibility #Button #Html #Javascript

After running my site through powermapper tools, they present this issue:


All ONCLICK handlers should have an equivalent ONKEYPRESS handler. Section 508 1194.22 (l) WCAG 2.0 A F54
Some users are unable to use a mouse, so use the keyboard instead. Add an equivalent keyboard event handler to help these users.


Now I feel I should do it since some minor sections of my site are inaccessible with a keyboard only (unless JavaScript is turned off and tab key was used).

My question then is, what is the standard way to craft buttons to identify the keyboard-only users what key to press to use a button? Should I follow the Microsoft Windows format where the key to press is underlined in the button name, or is there a better way to do this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce454

The alternative to "the Microsoft way" is the Android way. Have the active letter as a superscript on the button.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme