WCAG 2.0: Widgets/Scripting

Use appropriate event handlers on elements to support native interactivity using JavaScript. Ensure that custom widgets created using JavaScript support keyboard interaction and include ARIA markup to describe their roles, properties and states.

Rule Level SC Required
List element restrictions A 4.1.2 Yes
Value in range A 4.1.2 Yes
Keyboard/Mouse/drag events must have roles A 4.1.2 Yes
Widgets must have properties A 4.1.2 Yes
Widgets must have child roles A 4.1.2 Yes
onClick must have role A 4.1.2 Yes
Widget must have name A 4.1.2 Yes
Widgets must have parent A 4.1.2 Yes
Only one owner A 4.1.2 Yes
ARIA values must be valid A 4.1.2 Yes
ARIA attribute must be defined A 4.1.2 Yes
role must be valid A 4.1.2 Yes
Required widgets AA 3.3.3 Yes

 

Keywords: