Making accessibility standards easy to understand, one success criterion at a time.

responsibility: Code

Collection of success criterion where the responsibility falls under technical implementation and developer tasks.

WCAG 2.1, 2.2 Level A

2.5.3 Label in Name

The visible text of a form field, button, or link matches the text in the underlying code.

Code and Labels, Forms
Cognitive, Visual
Code
WCAG 2.1, 2.2 Level A

2.5.4 Motion Actuation

There is no reliance on device motion, like shaking or tilting, to carry out an action.

Gestures
Cognitive, Physical/Motor, Visual
Code
WCAG 2.1, 2.2 Level AAA

2.5.6 Concurrent Input Mechanisms

The user can happily switch between using a mouse, touchscreen, keyboard, or any other input device.

Gestures, Keyboard
Cognitive, Physical/Motor
Code
WCAG 2.2 Level AA

2.5.7 Dragging Movements

Any action requiring dragging, such as reordering items, must also be possible using buttons or other non-drag methods.

Gestures
Cognitive, Physical/Motor
Code
WCAG 2.0, 2.1, 2.2 Level A

3.1.1 Language of Page

There’s a lang attribute on the <html> element that matches the language of the page.

Code and Labels, Wording
Cognitive, Visual
Code
WCAG 2.0, 2.1, 2.2 Level A

3.2.1 On Focus

Nothing unexpected changes when something on the page receives keyboard focus, like a <button>

Keyboard
Cognitive
Code, Design
WCAG 2.0, 2.1, 2.2 Level A

3.2.2 On Input

Nothing unexpected happens when a form field value is selected, like picking an option from a dropdown menu.

Code and Labels, Forms, Keyboard
Cognitive
Code
WCAG 2.0, 2.1, 2.2 Level AA

3.2.4 Consistent Identification

Things that carry out a particular function should always look and work the same.

Whole Site
Cognitive
Code, Design
WCAG 2.0, 2.1, 2.2 Level AAA

3.2.5 Change on Request

Nothing in the user interfaces changes without the user expressly requesting it using a

Forms, Keyboard
Cognitive, Visual
Code, Design
WCAG 2.2 Level A

3.2.6 Consistent Help

Some form of help is available from every page.

Whole Site
Cognitive
Code, Design