Every onClick event handler should be on a focusable element.
Best Practice Type: Pass/Fail
aelements with an
tabindexattribute with a value greater than or equal 0.
onclickattribute is used to add interaction behaviors to web pages
onclickshould only be used on elements that can receive input focus
Associated Accessibility Guidelines and Standards
|IITAA||13.1 Ensure that scripted functions are usable with assistive technologies.||Required||Violation|
|Section 508||1194.22 (n) When electronic forms are designed to be completed on-line, the form shall allow people using assistive technology to access the information, field elements, and functionality required for completion and submission of the form, including all directions and cues.||Required||Violation|
|WCAG 1.0||8.1 Make programmatic elements such as scripts and applets directly accessible or compatible with assistive technologies.||Required||Violation|
|WCAG 2.0||2.1.2 No Keyboard Trap||Required||Violation|