Sub topic 1
What accessibility means: WCAG, POUR and conformance levels
Prerequisites
This chapter assumes you know how to make a basic wireframe in a design tool, can name common UI components such as forms, navigation and buttons, and understand that a web page is built from HTML and styled with CSS.
What accessibility means
The Web Content Accessibility Guidelines (WCAG) are the international standard for making web content usable by people with disabilities. WCAG organizes its success criteria under four principles, abbreviated POUR:
- Perceivable: users can sense the content through at least one channel, such as sight, hearing or touch.
- Operable: users can navigate and use every control, including with a keyboard.
- Understandable: content and controls behave in predictable ways and have clear language.
- Robust: content works with current and future assistive technologies.
WCAG defines three conformance levels. Level A covers the most basic barriers. Level AA is the common target for legal and procurement requirements. Level AAA is the strictest and is not required for whole sites.
Who you are designing for
Disabilities can be permanent, temporary or situational. A person with a permanent vision loss, a person with a broken wrist, and a person reading a phone in bright sunlight all face similar barriers. Design for the range of users, not one imagined user.
Why start at the wireframe
A wireframe shows structure, content order and interaction before colors and fonts are chosen. Changing a heading level, a region or a focus path costs minutes at this stage and days after development. Early decisions also carry into the handoff to developers.
Sketching headings and landmarks
Mark each region of the wireframe as a landmark, such as header, navigation, main and footer. Mark the page title and section titles as headings, in a single outline from level 1 down. Screen reader users jump between landmarks and headings, so the outline must make sense alone.
<header>
<nav aria-label="Main">…</nav>
</header>
<main>
<h1>Order history</h1>
<section aria-labelledby="recent-heading">
<h2 id="recent-heading">Recent orders</h2>
</section>
</main>
<footer>…</footer>Setting reading order and focus order
Reading order is the sequence in which content appears to a screen reader. Focus order is the sequence in which the Tab key moves between interactive controls. Both should follow the visual layout from top to bottom and left to right, unless the task requires otherwise. Annotate any exception on the wireframe, so developers do not guess.
Exercise
A wireframe places a "Save" button at the top right and the form fields below it. Should "Save" come first in the focus order?
Show answer
No. Focus order should follow the reading path, so the form fields come first and "Save" comes last. Place "Save" after the fields it submits.