MORE
Accessibility
Use AtomAttr styles alongside semantic HTML, keyboard interaction, and readable contrast.
Semantic markup first
AtomAttr controls presentation. It does not add accessible names, roles, keyboard behavior, or form semantics. Use native buttons, links, labels, headings, and input types, and provide useful alternative text for meaningful images.
Focus and interaction states
Keep keyboard focus visible with focus-visible- styles, and preserve clear hover, active, disabled, checked, and invalid states. Do not remove the browser outline unless a replacement indicator is present and tested against every theme and surface.
<button focus-visible-outline="2px solid" focus-visible-outline-color="primary" focus-visible-outline-offset="2px">
Continue
</button>
Contrast and motion
Check text, controls, borders, focus indicators, and status colors in all themes. Do not convey meaning through color alone. Keep animation and smooth transitions restrained, and honor reduced-motion preferences in application CSS.
Attributes
The table lists accessibility-related helpers in the dictionary. The behavior of assistive technologies and browser accessibility APIs depends on the semantic markup as well as presentation.