5 Ensure effective navigation and interaction
The chapter shifts the focus from readable text to the wider experience of finding, understanding, and operating a web page. It emphasizes that accessibility depends on more than legibility: users also need clear orientation, predictable movement, understandable structure, and controls that work with different input methods. The core idea is that good navigation and interaction reduce cognitive load, help users recover when interrupted, and make web applications feel reliable for everyone.
A major theme is structural clarity. Unique page titles and properly marked headings help users know where they are, scan content, and move efficiently through pages with browsers or assistive technologies. The chapter also stresses consistent navigation and semantic landmarks so repeated page regions appear in stable places and are named consistently. Native HTML is preferred for these patterns, with ARIA used only when necessary, because semantic elements expose the right meaning more robustly and reduce implementation errors.
The later sections focus on direct interaction barriers: keyboard access, visible focus, skip links, link clarity, and forgiving target size. Keyboard users need every control reachable in a logical order, a clear focus indicator, and no traps caused by scripts or overlays. Links should be descriptive, distinguishable from text, and announced clearly, especially when opening new windows or using icons. Finally, the chapter argues for larger, well-spaced targets to support touch, mouse, and gaze input, showing that designs built for imprecision are more usable for everyone.
```Headings in semantically correct HTML are automatically added to the accessibility tree. This way assistive technology users can understand the structure of the page, as well as individual sections.
Custom focus indicators should not just meet minimum conformance requirements, but should also improve the overall experience for all users. In this case, two interactive components are shown: a link and an input text field. The link’s focus indicator includes a solid outline, a thicker underline, and a shaded background. The text field’s indicator includes a thicker outline and a patterned outer border in a different bright color. The idea is to offer sufficient contrast across all backgrounds, while making it easier to perceive.
This image shows a sticky cookie banner overlapping interactive page content. The Submit button, which currently has focus, is partially obscured by the banner.
A link with keyboard focus is partially hidden by the cookie banner. This happens when fixed elements are placed at the top or bottom without applying scroll padding CSS rules.
Focus order can seem illogical if elements are moved around using CSS rather than having the tabbing sequence match the underlying DOM structure. This image shows the tab sequence starting from the right-most element, and then skipping to the first.
Focus order should be logical everywhere, including form elements. This image shows a focus order typically expected in a sign-up form,
Focus order in a horizontal form. The flow should be logical to your intended audience. For instance, in this case, English readers will expect a left-to-right top-down flow. Also note that although the last two buttons are placed next to each other, the main action “Proceed to Payment” is taking precedence over the secondary action “Back to Search”. This is a logical and usable design.
In modal dialogs, keyboard focus should remain inside the dialog until it is dismissed, rather than moving to background content.
Skip links, placed at the top of a page, allow users to bypass blocks of repeated content, such as link blocks repeated at the top of each page.
Default browser link styling as applied to the word “codebase”. Links are typically shown in dark blue with an underline.
Links without any visual cues are indistinguishable from their surrounding text. The word “codebase” is a link, but there is no way of identifying it.
An image of text, along with a clickable “Read more...” link placed on top of it. This pattern is very common in carousels, making it extremely hard for assistive technology users to discern what the link is referring to. Context, as conveyed by the surrounding text, is lost.
This image shows two links, both of which inform users that they open content in a new window. The first approach uses an icon with visually hidden text for assistive technology users, while the second approach shows the same link alongside visible text indicating that a new window or tab will open.
This image shows a typical pagination control with small targets placed close to each other. The darker circle approximates the fingertip contact area, which covers multiple targets simultaneously.
This image shows the same pagination control with larger target areas and better spacing between targets. This improves usability and accessibility for people with different abilities using any input modality. The darker circle approximates the fingertip contact area, which fits well within a single target.
Summary
- All web pages need to have titles that clearly describe their purpose. These are what browsers use to label tabs, history entries, and bookmarks. Users therefore rely on them to stay oriented. This also matters to screen reader users who rely on page titles to distinguish between different pages.
- Headings are a core part of your content structure, and when used well, they enhance navigability and understanding.
- Consistency is important in any web application. This includes any aspect, from navigation to action names. Navigation mechanisms that are repeated across pages should appear in a consistent location and order. Actions and functionality should also be consistently named, and if icons are used, these should also be consistent throughout the application.
- Assistive technology users will typically explore and navigate pages using programmatically defined page landmarks. Semantic HTML elements such as <header>, <main>, <nav>, and <footer> provide a programmatic way to communicate regions on a page. They come with built-in meaning, allowing assistive technology users to identify key regions within a page.
- All functionality on a website should be accessible to keyboard-only users. Any pointer or touch action needs to also have a keyboard equivalent - wherever possible.
- Unlike mouse users, keyboard users rely on sequential navigation, and their current position on the page can only be identified through a focus indicator. Every interactive component should have a clearly visible indicator when it receives keyboard focus. Browsers come with default indicators; however, one can also implement custom indicators for more visibility.
- We need to ensure that when users navigate content sequentially using a keyboard, all interactive elements – such as links, buttons, and form fields – receive focus in a predictable order that matches the visual presentation.
- Skip links help keyboard and screen reader users bypass repeated blocks of interactive links - such as a navigation bar at the top of each page.
- Keyboard traps block keyboard users, making them a severe accessibility barrier. This happens when keyboard focus is trapped on a single element, or within a part of the page, preventing the user from progressing through the interface. With simple and quick tests, keyboard traps can be detected and resolved.
- Links are fundamental for any web application as they move people around through a site, point to related information, trigger downloads, open documents, and sometimes take people away from the current page entirely. That makes link design an accessibility concern, not just a visual design detail. Links need to be visually distinct from surrounding text, expose a visible keyboard focus state, and communicate their purpose clearly. If a link opens a new tab or is represented by an image, users, and particularly those using assistive technology, should not have to guess what will happen.
- Designing for imprecision is essential. We cannot assume that our users can point with pixel-perfect accuracy. Small targets may be difficult to activate with a finger, mouse, eye tracker, or other pointing methods. Error traps can be created if they are also crowded. Target size is therefore not just a mobile or touchscreen issue – people using a mouse may experience tremors or limited dexterity. People using eye trackers may experience calibration issues due to involuntary movements. In either case, small and crowded controls increase effort and the likelihood of errors.
Architecting Accessibility ebook for free