The best examples are the GOV.UK Design System, BBC News developer guidance, and W3C techniques for skip links and custom widgets. They show accessibility compliance, meaning code that conforms to Web Content Accessibility Guidelines (WCAG) 2.2 AA, through testable patterns builders can reuse. W3C published WCAG 2.2 as a Recommendation on 5 October 2023, adding nine success criteria for blindness, low vision, deafness, limited movement, speech and photosensitivity needs, according to the WCAG 2.2 Recommendation. That standard gives developers a clear baseline for judging whether an example is truly compliant.
Table of Contents
- What does compliant page structure look like?
- How does a large design system prove compliance?
- How do custom controls stay accessible?
- Where do compliant examples stop?
What does compliant page structure look like?
BBC News guidance starts with semantic HTML first, then adds minimum 4.5:1 colour contrast, visible keyboard focus matching hover styles, and logical left-to-right tab order. Automated checks use jsx-a11y linting plus Axe. The pattern is simple: native headings, landmarks, links and buttons carry meaning without extra code.
A second structural example is the skip link. W3C describes making "Skip to main content" the first focusable control so keyboard users bypass repeated navigation, with the link allowed to appear only on focus, in the W3C technique for skip links. It is small, visible in code, and immediately testable with Tab alone.
How does a large design system prove compliance?
The GOV.UK Design System states its websites and Frontend codebase are fully compliant with WCAG 2.2 AA, as described in the GOV.UK accessibility statement. Support includes 400% zoom, JAWS, NVDA, TalkBack and VoiceOver, plus keyboard-only, mouse, on-screen keyboard and speech-recognition use. That breadth matters because it covers layout, assistive technology and input choice together.
For builders, the lesson is to borrow tested components rather than rebuild them. Use its form fields, error messages, focus states and zoom-safe layouts as reference behaviour. Then check the same paths in your product: zoom to 400%, navigate by keyboard only, and run a screen reader pass.
How do custom controls stay accessible?
Native buttons, links and selects already expose name, role and value. When a custom widget is unavoidable, W3C Technique ARIA5 shows it must expose the same information with attributes such as aria-pressed or aria-valuemin, aria-valuemax and aria-valuenow so assistive technology announces state changes. The worked example is a mute toggle button that reports pressed or unpressed.
Contrast gives a second measurable check. WebAIM defines AA as at least 4.5:1 for normal text and 3:1 for large text and interface components, versus AAA at 7:1 and 4.5:1. Apply those ratios to text, icons, borders and focus indicators, not only body copy.
Where do compliant examples stop?
U.S. Department of Justice Title II rulemaking published 24 April 2024 requires state and local government web content and mobile apps to conform to WCAG 2.1 Level AA, affecting public programs with later 2027–2028 deadlines. The rule shows why public-sector patterns such as GOV.UK and BBC carry weight: they reflect legal as well as technical expectations.
W3C also states WCAG 2.2 will not address every user need. Treat compliant examples as baselines, test with disabled users and assistive technology, and prefer native buttons, links, landmarks and labels before adding ARIA.