@angular/aria Overview
@angular/aria is a package that provides a set of accessible, ARIA-compliant UI components for Angular applications. These components follow the WAI-ARIA Authoring Practices to ensure proper accessibility for all users.
Installation
Package Information
- Package Name:
@angular/aria - Description: Angular Aria
- Repository: https://github.com/angular/components
- License: MIT
Peer Dependencies
@angular/cdk@angular/core
Available Components
Accordion
AccordionGroup- Container for accordion items with state managementAccordionPanel- Collapsible content panelAccordionTrigger- Button to toggle panel visibilityAccordionContent- Lazy-loaded accordion content
Combobox
Combobox- Main combobox containerComboboxInput- Input field for comboboxComboboxPopup- Popup container for optionsComboboxDialog- Dialog variant of comboboxComboboxPopupContainer- Container for popup content
Grid
Grid- Data grid containerGridRow- Grid row elementGridCell- Grid cell elementGridCellWidget- Interactive widget within a cell
Listbox
Listbox- Selectable list containerOption- Individual list option
Menu
Menu- Menu containerMenuBar- Horizontal menu barMenuItem- Individual menu itemMenuTrigger- Button to open menuMenuContent- Lazy-loaded menu content
Tabs
Tabs- Tab containerTabList- List of tab headersTab- Individual tab headerTabPanel- Tab content panelTabContent- Lazy-loaded tab content
Toolbar
Toolbar- Toolbar containerToolbarWidget- Interactive toolbar elementToolbarWidgetGroup- Group of toolbar widgets
Tree
Tree- Tree view containerTreeItem- Tree nodeTreeItemGroup- Group of tree items
Features
- Full ARIA Support: All components implement proper ARIA roles, states, and properties
- Keyboard Navigation: Complete keyboard interaction support
- Screen Reader Compatible: Optimized for assistive technologies
- Customizable: Flexible styling and behavior options
- Lazy Loading: Deferred content rendering for better performance
- Developer Preview: Components are marked as
@developerPreviewas of version 21.0
Usage
Import the components you need from@angular/aria: