{"course":{"slug":"design-foundations","title":"Design, before Any Software","url":"https://addaly.com/learn/design-foundations","level":"beginner","track":"create"},"lesson":{"slug":"accessibility-beyond-contrast","title":"The accessibility requirements that are design decisions","url":"https://addaly.com/learn/design-foundations/accessibility-beyond-contrast","position":63,"of":74,"minutes":9,"answer":"Use the keyboard and zoom to complete a real task. Check visible focus, meaningful reading order, persistent labels and useful image alternatives.","keyIdea":"Use the keyboard and zoom to complete a real task. Check visible focus, meaningful reading order, persistent labels and useful image alternatives."},"body":{"format":"markdown","text":"## Follow the task with a keyboard\n\nStart at the top of a page and use Tab, Shift+Tab, Enter and Space. You should be able to tell which control has focus, activate it and recover from an error. Keep the browser's focus indicator or provide a visible one that works on every surface it crosses. [Focus Visible](https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html) and [Focus Not Obscured (Minimum)](https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html) are separate WCAG 2.2 AA criteria. A sticky footer can entirely cover a focused control even when its ring would otherwise be visible.\n\n```css\n:focus-visible {\n  outline: 2px solid currentColor;\n  outline-offset: 2px;\n}\n```\n\nThis example uses the element's current text colour. Verify that the outline stands out against its adjacent colours in the actual layout, including both themes. The browser uses input and element heuristics for [the focus-visible selector](https://www.w3.org/WAI/WCAG22/Techniques/css/C45). It can show a ring on a text field clicked with a mouse. The 3:1 requirement for an authored visual cue comes from [Non-text Contrast](https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html) where the cue is needed to identify the state. The separate [Focus Appearance](https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html) criterion adds size and contrast-change requirements at level AAA.\n\n## Check zoom and reflow separately\n\n[Resize Text](https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html) checks that covered text can reach 200% without losing content or functionality. Try increasing the text size and completing a form. Fixed-height containers can clip larger text.\n\n[Reflow](https://www.w3.org/WAI/WCAG22/Understanding/reflow.html) checks that vertically scrolling content works at the equivalent of 320 CSS pixels wide without losing content or requiring scrolling in two dimensions. For horizontally scrolling content the check uses a height of 256 CSS pixels. Some content needs a two-dimensional layout for its meaning or use, such as a map. Keep any necessary scrolling within the relevant content area when possible.\n\nA useful desktop check starts with a 1,280 CSS pixel content viewport at 100% browser zoom, then moves to 400%. Verify the resulting content width and complete the same task. At narrow widths, make long text and form controls fit, and give an essential wide table its own scroll region.\n\n## Keep navigation and labels clear\n\nCSS can move items visually without changing the underlying navigation sequence. Keep the order of controls meaningful at each breakpoint. Walk the sequence on the finished page rather than inferring it from a mockup.\n\nGive fields persistent labels, programmatically associated with the inputs. A placeholder can provide an example and will disappear when the learner types. A correctly associated label on a checkbox lets the user click the words as well as the checkbox. Use that larger hit area and check the label still reads clearly when a field contains an error.\n\n## Describe what an image contributes\n\nFor an informative photograph, describe the detail the learner needs. For a standalone logo linked home, name the link's destination. Decorative and redundant images can use empty alternative text. For a chart, provide a short description and a nearby text summary or table that conveys the important data. [W3C's image decision tree](https://www.w3.org/WAI/tutorials/images/decision-tree/) gives examples.\n\n## Test a whole journey\n\nStart with a school sign-up form. Complete it by keyboard at 400% browser zoom. Check that you can read each label, find the active control, receive an error message and recover. Repeat with VoiceOver, TalkBack or NVDA on a device you have. An automated check can identify some defects. Use manual testing to check whether the reading order and feedback make sense."},"check":{"question":"At 400% zoom, Tab reaches the Continue button, but a sticky footer completely covers it. What should the team fix?","options":[{"text":"Make the focus outline thicker while leaving the button behind the footer.","correct":false,"tempting":"The focused control remains hidden, regardless of outline thickness."},{"text":"Adjust the layout or scroll behavior so the focused control remains visible.","correct":true},{"text":"Disable keyboard focus on the button because the phone layout already works.","correct":false,"tempting":"Removing keyboard access makes it harder to complete the task."},{"text":"Move the label into the button’s tooltip so the page has room to reflow.","correct":false,"tempting":"The obstruction comes from the footer, and an always visible label is still useful."}]},"prev":{"slug":"motion-with-restraint","title":"Motion, and the people it makes ill","url":"https://addaly.com/learn/design-foundations/motion-with-restraint"},"next":{"slug":"weight-is-a-design-decision","title":"The designer decides how heavy the page is","url":"https://addaly.com/learn/design-foundations/weight-is-a-design-decision"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'The accessibility requirements that are design decisions', in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/accessibility-beyond-contrast (Accessed: 21 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"The accessibility requirements that are design decisions","courseTitle":"Design, before Any Software","module":{"index":6,"slug":"real-screens-and-surfaces","title":"Real screens, real thumbs, real paper"},"answer":null,"keyIdea":"Use the keyboard and zoom to complete a real task. Check visible focus, meaningful reading order, persistent labels and useful image alternatives.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"follow-the-task-with-a-keyboard","runs":[{"text":"Follow the task with a keyboard"}]},{"t":"p","runs":[{"text":"Start at the top of a page and use Tab, Shift+Tab, Enter and Space. You should be able to tell which control has focus, activate it and recover from an error. Keep the browser’s focus indicator or provide a visible one that works on every surface it crosses. "},{"text":"Focus Visible","href":"https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html"},{"text":" and "},{"text":"Focus Not Obscured (Minimum)","href":"https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html"},{"text":" are separate WCAG 2.2 AA criteria. A sticky footer can entirely cover a focused control even when its ring would otherwise be visible."}]},{"t":"code","lang":"css","label":"CSS","text":":focus-visible {\n  outline: 2px solid currentColor;\n  outline-offset: 2px;\n}"},{"t":"p","runs":[{"text":"This example uses the element’s current text colour. Verify that the outline stands out against its adjacent colours in the actual layout, including both themes. The browser uses input and element heuristics for "},{"text":"the focus-visible selector","href":"https://www.w3.org/WAI/WCAG22/Techniques/css/C45"},{"text":". It can show a ring on a text field clicked with a mouse. The 3:1 requirement for an authored visual cue comes from "},{"text":"Non-text Contrast","href":"https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html"},{"text":" where the cue is needed to identify the state. The separate "},{"text":"Focus Appearance","href":"https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance.html"},{"text":" criterion adds size and contrast-change requirements at level AAA."}]},{"t":"h2","id":"check-zoom-and-reflow-separately","runs":[{"text":"Check zoom and reflow separately"}]},{"t":"p","runs":[{"text":"Resize Text","href":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html"},{"text":" checks that covered text can reach 200% without losing content or functionality. Try increasing the text size and completing a form. Fixed-height containers can clip larger text."}]},{"t":"p","runs":[{"text":"Reflow","href":"https://www.w3.org/WAI/WCAG22/Understanding/reflow.html"},{"text":" checks that vertically scrolling content works at the equivalent of 320 CSS pixels wide without losing content or requiring scrolling in two dimensions. For horizontally scrolling content the check uses a height of 256 CSS pixels. Some content needs a two-dimensional layout for its meaning or use, such as a map. Keep any necessary scrolling within the relevant content area when possible."}]},{"t":"p","runs":[{"text":"A useful desktop check starts with a 1,280 CSS pixel content viewport at 100% browser zoom, then moves to 400%. Verify the resulting content width and complete the same task. At narrow widths, make long text and form controls fit, and give an essential wide table its own scroll region."}]},{"t":"h2","id":"keep-navigation-and-labels-clear","runs":[{"text":"Keep navigation and labels clear"}]},{"t":"p","runs":[{"text":"CSS can move items visually without changing the underlying navigation sequence. Keep the order of controls meaningful at each breakpoint. Walk the sequence on the finished page rather than inferring it from a mockup."}]},{"t":"p","runs":[{"text":"Give fields persistent labels, programmatically associated with the inputs. A placeholder can provide an example and will disappear when the learner types. A correctly associated label on a checkbox lets the user click the words as well as the checkbox. Use that larger hit area and check the label still reads clearly when a field contains an error."}]},{"t":"h2","id":"describe-what-an-image-contributes","runs":[{"text":"Describe what an image contributes"}]},{"t":"p","runs":[{"text":"For an informative photograph, describe the detail the learner needs. For a standalone logo linked home, name the link’s destination. Decorative and redundant images can use empty alternative text. For a chart, provide a short description and a nearby text summary or table that conveys the important data. "},{"text":"W3C’s image decision tree","href":"https://www.w3.org/WAI/tutorials/images/decision-tree/"},{"text":" gives examples."}]},{"t":"h2","id":"test-a-whole-journey","runs":[{"text":"Test a whole journey"}]},{"t":"p","runs":[{"text":"Start with a school sign-up form. Complete it by keyboard at 400% browser zoom. Check that you can read each label, find the active control, receive an error message and recover. Repeat with VoiceOver, TalkBack or NVDA on a device you have. An automated check can identify some defects. Use manual testing to check whether the reading order and feedback make sense."}]}],"check":{"question":[{"text":"At 400% zoom, Tab reaches the Continue button, but a sticky footer completely covers it. What should the team fix?"}],"options":[{"text":[{"text":"Make the focus outline thicker while leaving the button behind the footer."}],"correct":false,"tempting":[{"text":"The focused control remains hidden, regardless of outline thickness."}]},{"text":[{"text":"Adjust the layout or scroll behavior so the focused control remains visible."}],"correct":true,"tempting":null},{"text":[{"text":"Disable keyboard focus on the button because the phone layout already works."}],"correct":false,"tempting":[{"text":"Removing keyboard access makes it harder to complete the task."}]},{"text":[{"text":"Move the label into the button’s tooltip so the page has room to reflow."}],"correct":false,"tempting":[{"text":"The obstruction comes from the footer, and an always visible label is still useful."}]}],"order":[3,0,1,2],"why":null},"prev":{"slug":"motion-with-restraint","title":"Motion, and the people it makes ill","minutes":8},"next":{"slug":"weight-is-a-design-decision","title":"The designer decides how heavy the page is","minutes":9}}}