Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes for each version of this project will be documented in this file.

## 22.4.0

### New Features

- `IgxListComponent`, `IgxListItemComponent`
- The new `selectable` input makes the list an accessible listbox (#17952): the list gets `role="listbox"`, items get `role="option"` with `aria-selected` from their `selected` state, and the list has a single tab stop on the option that was focused last, else the first selected one, else the first one. Arrow Up/Down and Home/End move between options, and Enter/Space click the focused option, so `itemClicked` fires. While `isLoading` is set, the list has `aria-busy="true"`. While the list has no options, the list itself is the tab stop and its empty or loading message is read as an option. The focused option shows an inset focus ring, also when it is selected, colored by the new `item-focus-outline-color` token of the list theme. Lists that are not `selectable` are unchanged.
- In a listbox, headers act as group names: each option points to the header above it with `aria-describedby`, so screen readers announce the group with every option, and the headers themselves are hidden from screen readers. An option that has its own `aria-describedby`, set or bound in the template, keeps it.
- **Deprecation** - The `role` input of the list has been deprecated. The role of the list is `list`, and `listbox` when the list is `selectable`, so use `selectable` to make the list a listbox instead.
- Recommended: give a listbox an `aria-label`, so it is announced when the focus moves into the list. Set `aria-multiselectable="true"` when more than one item can be selected, and avoid focusable controls inside the items. If an item needs a selection control, such as a checkbox, make it `inert` so it does not interfere with the keyboard navigation and selection, and bind it to the item's selected state.

## 22.3.1

### Bug Fixes
Expand Down
Loading
Loading