An open source design system that's fully customizable and agent ready
TypeScript
Astryx Accessibility Manifest
Source: packages/core/src/*/README.md Generated: 2026-02-05T18:03:04.596Z
Avatar
Built-in accessibility:
- Accessible: Proper role and aria-label support
Button
Built-in accessibility:
- Variants:
primary,secondary,ghost,destructive - Focus visible: Accessible focus outline with variant-specific colors
Developer must provide:
- Provide aria-label for icon-only buttons
- Use aria-pressed for toggle buttons
Notes:
ButtonVarianttype is derived from thevariantsStyleX object usingkeyof typeof variants- Destructive variant uses
colorTokens.negativefor its focus outline color
CheckboxInput
Built-in accessibility:
- Accessible: Always includes a label (can be visually hidden)
- Supports visually hidden labels (still accessible to screen readers)
Notes:
- Label is clickable and properly associated with the input via
htmlFor/id - Label is required prop - component handles label association
DateInput
Built-in accessibility:
- Calendar Popover: Click icon or use keyboard to open calendar picker
- Accessibility: Full keyboard navigation, focus trapping, screen reader support
- Supports visually hidden labels (still accessible to screen readers)
Notes:
- Label is required prop - component handles label association
Field
Built-in accessibility:
- Accessible: Label properly associated with input via htmlFor/id
- Uses aria-describedby for descriptions
- Supports visually hidden labels (still accessible to screen readers)
Notes:
- Label is always rendered for accessibility; use
isLabelHiddento hide visually - Hidden label uses CSS technique that remains accessible to screen readers
- Description is rendered when provided; if
descriptionIDis also provided, the description element gets that ID foraria-describedbyassociation - Optional/Required text appears on the same line as the label
Icon
Built-in accessibility:
- Theme Colors: Color variants mapped to Astryx icon color tokens
- Accessible: Icons are hidden from screen readers by default (aria-hidden)
Notes:
- Uses
aria-hidden="true"by default since icons are typically decorative - For meaningful icons, set
aria-hidden={false},role="img", andaria-label
Selector
Built-in accessibility:
- Uses
role="combobox"trigger role="listbox"dropdownrole="group"for sectionsaria-activedescendantfor focus- Supports visually hidden labels (still accessible to screen readers)
Keyboard:
- ↑↓ navigate, Enter/Space select, Escape close, Home/End jump, A-Z typeahead.
TextArea
Built-in accessibility:
- Accessible: Label properly associated with textarea via htmlFor/id
- Supports visually hidden labels (still accessible to screen readers)
Notes:
- Uses
useIdhook for accessible label-textarea association - Label is always rendered for accessibility; use
isLabelHiddento hide visually - Hidden label uses CSS technique that remains accessible to screen readers
- Wraps
Fieldcomponent for label, description, and optional/required handling - Optional/Required text appears on the same line as the label
- Label is required prop - component handles label association
TextInput
Built-in accessibility:
- Accessible: Label properly associated with input via htmlFor/id
- Sets aria-invalid for error status
- Supports visually hidden labels (still accessible to screen readers)
Notes:
- Uses
useIdhook for accessible label-input association - Label is always rendered for accessibility; use
isLabelHiddento hide visually - Hidden label uses CSS technique that remains accessible to screen readers
- Wraps
Fieldcomponent for label, description, and optional/required handling - Optional/Required text appears on the same line as the label
- Label is required prop - component handles label association
theme
Built-in accessibility:
- Theme Provider: Wraps app to provide CSS variables