ARIA Grid
The ARIA Grid provides an accessible, interactive data grid with full keyboard navigation following WAI-ARIA patterns.Installation
Components
Grid
The main grid container. Selector:[ngGrid]
Source: /home/daytona/workspace/source/src/aria/grid/grid.ts
GridRow
A row within the grid. Selector:[ngGridRow]
Source: /home/daytona/workspace/source/src/aria/grid/grid-row.ts
GridCell
A cell within a grid row. Selector:[ngGridCell]
Source: /home/daytona/workspace/source/src/aria/grid/grid-cell.ts
GridCellWidget
An interactive widget within a grid cell. Selector:[ngGridCellWidget]
Source: /home/daytona/workspace/source/src/aria/grid/grid-cell-widget.ts
Basic Usage
Interactive Grid with Widgets
Keyboard Navigation
- Arrow Keys - Navigate between cells
- Home - Move to first cell in row
- End - Move to last cell in row
- Ctrl+Home - Move to first cell in grid
- Ctrl+End - Move to last cell in grid
- Page Up/Down - Scroll through rows
- Enter - Activate focused cell or widget
- F2 - Enter edit mode (if supported)
Accessibility Features
- Implements ARIA grid pattern
- Proper roles:
grid,row,gridcell aria-rowindexandaria-colindexfor positionaria-selectedfor selected cellsaria-readonlyfor non-editable cells- Full keyboard navigation
- Screen reader support