ARIA Toolbar
The ARIA Toolbar provides an accessible container for grouping interactive controls following WAI-ARIA patterns.Installation
Components
Toolbar
The main toolbar container. Selector:[ngToolbar]
Source: /home/daytona/workspace/source/src/aria/toolbar/toolbar.ts
Inputs
orientation(‘horizontal’ | ‘vertical’) - Toolbar orientationdisabled(boolean) - Whether the toolbar is disabled
ToolbarWidget
An interactive element within the toolbar. Selector:[ngToolbarWidget]
Inputs
disabled(boolean) - Whether this widget is disabled
ToolbarWidgetGroup
A group of related toolbar widgets. Selector:[ngToolbarWidgetGroup]
Basic Usage
Grouped Widgets
Vertical Toolbar
Text Editor Toolbar
Keyboard Navigation
Horizontal Toolbar
- Arrow Left/Right - Navigate between widgets
- Home - Focus first widget
- End - Focus last widget
- Tab - Move focus out of toolbar
Vertical Toolbar
- Arrow Up/Down - Navigate between widgets
- Home - Focus first widget
- End - Focus last widget
- Tab - Move focus out of toolbar
Accessibility Features
- Implements ARIA toolbar pattern
role="toolbar"on containeraria-orientationfor layout directionaria-disabledfor disabled state- Focus management within toolbar
- Full keyboard navigation
- Screen reader support
- Proper tab order management
Use Cases
- Text editor toolbars
- Application command bars
- Rich text formatting controls
- Drawing tool palettes
- Media player controls
- Navigation toolbars