Accessibility
How SurfaceOne meets WCAG 2.2 AA and what your app still owns.
SurfaceOne targets WCAG 2.2 level AA. Components follow the WAI-ARIA Authoring Practices, and this documentation site is tested with axe-core on every page in light and dark mode.
What the components do
- Use native elements first —
<button>,<select>,<input type="checkbox">— so keyboard and screen-reader support come for free. - Wire the ARIA patterns: disclosure (
aria-expanded,aria-controls), radio groups with one tab stop and arrow keys, menus, dialogs that trap and restore focus,role="progressbar"with values. - Show a visible focus ring on every interactive part (
--focus-ring). - Respect
prefers-reduced-motionand keep text contrast at 4.5:1 or more in every skin.
What your app owns
- Give every icon-only button an
aria-label. - Label every form control — use
soneFieldLabelor a<label for>. - Set
<html lang>and a meaningful document title per route. - Announce async results that matter, for example with the toaster or a live region.