Accessibility
Atlas components follow the WAI-ARIA Authoring Practices and are built on Angular Aria and the Angular CDK. This page says what the library handles, what your app still has to provide, and what is not verified yet.
Foundations
@angular/ariasupplies roles, states and keyboard interaction for the complex widgets: grid, combobox, listbox, tabs, accordion, menu and dialog.@angular/cdk/a11ysupplies focus trapping and monitoring, the live announcer and high-contrast detection.- List-like and overlay components take their items as data, so roles, states and keyboard handling are written once in the library instead of in every app.
Keyboard and focus
- Composite widgets use a roving tabindex: Tab enters and leaves the widget, the arrow keys move inside it.
- Space, Enter and Escape follow the APG pattern of each widget; Escape closes overlays.
- Modal dialogs and drawers trap focus while open and give it back when they close.
- Every interactive element shows a focus ring drawn from the
--ringtoken. - Animations and transitions shorten to almost zero under
prefers-reduced-motion: reduce.
What your app provides
- Names for controls. Pair inputs with
atlasLabel, and give icon-only buttons anaria-label. - Meaningful icons.
atlas-iconis hidden from assistive technology unless you passariaLabel; then it is announced as an image with that name. - Error messages. Form controls set
aria-invalidfrom their field state.atlas-form-fieldshows the error or hint below the control but does not connect it witharia-describedby; when the message must be read with the control, render it with anidand point the control at it. - Announcements for your own changes. Built-in live regions are limited (the data grid announces its active filter count); announce other results, such as a completed save or a new sort, from your app.
- Page structure. Headings, landmarks and a skip link belong to the app shell.
template
<!-- Decorative: hidden from assistive technology -->
<button atlasButton><atlas-icon name="save" [size]="16" /> Save</button>
<!-- Icon-only: the button needs the name -->
<button atlasButton variant="ghost" size="icon" aria-label="Delete row">
<atlas-icon name="trash-2" [size]="16" />
</button>
<!-- Meaningful on its own -->
<atlas-icon name="atlas:info" ariaLabel="Information" />How Atlas is tested
- axe matrix. Every Storybook story is scanned with axe-core in a light, a dark and a high-contrast theme against the WCAG A and AA rules; serious and critical violations fail the run unless listed, with a reason, in a reviewed skip list.
- Token contrast. A script resolves the color tokens of every theme and checks text pairs at 4.5:1 and indicator, focus-ring and border pairs at 3:1.
- Unit tests assert roles, ARIA attributes and keyboard behavior per component.
Known gaps
- No automated screen reader or end-to-end keyboard tests; check them by hand (for example NVDA with Chrome or Firefox, VoiceOver with Safari).
- The axe skip list is not empty yet: some icon-only triggers lack a name, some targets are smaller than 24×24 px, and some tinted or disabled states fall short on contrast.
- The
--inputoutline is below 3:1 against the background in the built-in themes. - The data grid renders every row of the current page (no virtualization), which is heavy for assistive technology on large pages.
- Tab, accordion and similar state changes are exposed through ARIA attributes read on focus, not announced.