feat(mat-option): Add aria-selected="false" back when used with single-selection #26642
Labels
Accessibility
This issue is related to accessibility (a11y)
area: material/autocomplete
area: material/core
area: material/select
feature
This issue represents a new feature or feature request rather than a bug or bug fix
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Feature Description
When mat-option is used with single-selection, the unselected option does not have aira-selected="false" set. This violates WCAG Success Criteria: 4.1.2 Name, Role, Value (A) as the aria-selected attribute is a required attribute for elements with role="option".
Expected behavior
Use Case
No response
The text was updated successfully, but these errors were encountered: