Articles Accessibility
Building accessible websites
Use semantic HTML and test real reading and navigation tasks across input methods.
Give readers a predictable structure
Set the document language and a unique title. Use a main landmark, descriptive headings and a way to skip repeated navigation. Use links for navigation and buttons for actions. A screen-reader user can jump between landmarks and headings, while a sighted reader can skim the same page structure. Write link names that make sense in their immediate context, and use empty alternative text for a genuinely decorative image.
Test keyboard operation from the start
Load a page and use Tab and Shift+Tab to traverse it. Activate links with Enter and check that the skip link lands in the main content. Focus should remain visible, move in a logical order and avoid being covered by content such as sticky navigation. When adding controls, check their accessible names and test any state changes with the keyboard. Use a familiar screen reader to verify the landmark list, headings and navigation announcements.
Check readability at narrow widths
Under WCAG 2.2 AA, normal text generally needs a contrast ratio of at least 4.5:1 and large text 3:1. Test link and focus states, avoid relying on colour alone and check the page at the equivalent of 320 CSS pixels wide. Most content should reflow without two-dimensional scrolling. Resize text to 200% and look for clipping or overlapping controls. If a data table genuinely needs a two-dimensional layout, keep scrolling confined to the table and preserve its header relationships.
Combine automated and manual checks
A scanner can flag some missing labels, contrast issues or structural errors. It cannot determine whether an alternative description conveys the right meaning or whether an entire task is understandable. Test representative pages and the shared navigation. Record the criterion, page, test environment and steps for any issue. Recheck the issue after a fix, then review similar pages built with the same template. State the scope and limits of your evaluation when publishing results.