guide
Operable
This article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the Operable principle of the Web Content Accessibility Guidelines (WCAG) 2.0 and 2.1. Operable states that user interface components and navigation must be operable.
[!NOTE] To read the W3C definitions for Operable and its guidelines and success criteria, see Principle 2: Operable — User interface components and navigation must be operable.
Guideline 2.1 — Keyboard Accessible: Make all functionality available from a keyboard
This guideline covers the necessity of making core website functionality available via a keyboard in addition to other means (e.g., mouse), so that users that rely on keyboard controls can access them.
| Success criteria | How to conform to the criteria | Practical resource |
|---|---|---|
| 2.1.1 Keyboard (A) | All functionality should be accessible using keyboard controls, unless it cannot be done using the keyboard (e.g., freehand drawing). Built-in controls should be used where possible (e.g., tabbing through form controls), and you should only build in custom functionality where needed. | See Use semantic UI controls where possible and Building keyboard accessibility back in |
| 2.1.2 No keyboard trap (A) |
When entering a section of functionality using the keyboard, you should be able to get out of that section again using only the keyboard. For example, if you press Enter/Return on a focused button to open an options window, you should be able to close that window again and return to the main content using the keyboard. This is very important so that keyboard users do not get trapped on specific sections of your apps. |
|
| 2.1.3 Keyboard — all functionality (AAA) | This is a further step beyond criterion 2.1.1. To achieve AAA conformance, all functionality should be accessible using keyboard controls — with no exceptions. | See Use semantic UI controls where possible and Building keyboard accessibility back in |
| 2.1.4 Character Key Shortcuts (A) | If a single character key shortcut exists, then at least one of the following is true: single character key shortcuts can be turned off, remapped or are only active when the relevant user interface component is in focus. | Understanding Character Key Shortcuts |
[!NOTE] Also see the WCAG description for Guideline 2.1 Keyboard Accessible: Make all functionality available from a keyboard.
Guideline 2.2 — Enough Time: Provide users enough time to read and use content
This guideline covers situations in which functionality may have a time limit. For example, purchases sometimes need to be completed within a time limit for security reasons.
| Success criteria | How to conform to the criteria | Practical resource |
|---|---|---|
| 2.2.1 Timing is adjustable (A) |
For functionality with time limits (e.g., completing a hotel or flight booking often has a time limit), the user should be given controls to allow them to adjust, extend or turn off the time limit. Exceptions to this are activities with time limits longer than 20 hours, real time events (e.g., live multiplayer games), and any other activity that requires a time limit and would be invalidated if it were turned off. |
|
| 2.2.2 Pausing, stopping, hiding (A) |
For moving/blinking content that starts automatically, lasts longer than 5 seconds, and is shown alongside other content, controls should be provided to pause, stop, or hide it. This does not apply to moving/blinking content that is essential to the experience. Examples include scrolling text and videos. For auto-updating information that starts automatically and is shown alongside other content, controls should be provided to pause, stop, or hide it, or to control the frequency of updates. This does not apply to auto-updating content that is essential to the experience. Examples include carousels or rotating announcements. |
|
| 2.2.3 No time limits (AAA) | This builds on criteria 2.2.1, stating that content that wants to pass AAA conformance should have no time limits. | |
| 2.2.4 Suppress interruptions (AAA) | Any interruptions such as alerts or interstitial adverts should have functionality available to suppress or postpone them, unless it is an emergency alert. | |
| 2.2.5 Re-authenticating (AAA) | If an authentication session expires during usage of a web app, the user can re-authenticate and continue their usage without losing any data. | |
| 2.2.6 Timeouts (AAA) |
If there is a timeout (caused by user inactivity) warn users at the start of a process so they will not be surprised that a timeout exists (or only allow the timeout to occur after 20 hours of inactivity). |
Understanding Timeouts |
[!NOTE] Also see the WCAG description for Guideline 2.2 Enough Time: Provide users enough time to read and use content.
Guideline 2.3 — Seizures and Physical Reactions: Do not design content in a way that is known to cause seizures or physical reactions
This refers to content that, if not changed, could cause seizures in users with conditions such as epilepsy OR could cause physical reactions (like dizziness) for users with conditions such as vestibular disorders.
| Success criteria | How to conform to the criteria | Practical resource |
|---|---|---|
| 2.3.1 Three flashes, or below threshold (A) | Content doesn't contain any aspect that Flashes more than three times per second, or flashing content is below acceptable flash and red flash thresholds. | |
| 2.3.2 Three flashes (AAA) | Content doesn't contain any aspect that Flashes more than three times per second. | |
| 2.3.3 Animations from Interactions (AAA) | Allow users to disable animations from interactions (unless the animation is essential). | Understanding Animations from Interactions |
[!NOTE] Also see the WCAG description for Guideline 2.3 Seizures and Physical Reactions: Do not design content in a way that is known to cause seizures or physical reactions.
Guideline 2.4 — Navigable: Provide ways to help users navigate, find content, and determine where they are
The conformance criteria under this guideline relate to ways in which users can be expected to orientate themselves, and find the content and functionality they are looking for on the current page or other pages of the site.
| Success criteria | How to conform to the criteria | Practical resource | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.4.1 Bypass blocks (A) |
A mechanism should be provided that allows the user to skip straight to the main content or functionality available on the page, past the repeated features (such as the company logo or navigation). This is often achieved using "skip links" — links put at the top of the page source that link to the main content and are hidden by CSS. If a proper structure of headings and semantic containers is provided to navigate with (for example [` |
Need to add a section on "skip links". | |||||||||||||||||||||||
| 2.4.2 Include page title (A) |
Each web page should include an informative
[`Guideline 2.5 Input Modalities: Make it easier for users to operate functionality through various inputs beyond keyboardThe conformance criteria under this guideline ensures that users are able to interact with digital technology using different input methods beyond a keyboard or mouse (including touchscreen, voice, device motion, or alternative input devices).
See also
|