Incorrect aria-expanded
on language button after language selection
#5144
Labels
accessibility
Issue related to accessibility.
plugin:language
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
aria-expanded
attribute. At this moment it is set tofalse
Expected result
What is the expected result of the above steps?
The
aria-expanded
attribute should be set tofalse
since the submenu is folded. Also, screen readers shouldn't read this button at the current state asexpanded
.Actual result
What is the actual result of the above steps?
The
aria-expanded
attribute is set totrue
. Screen readers read this button as expanded when any language is selected.Other details
4.18.0
(reproducible even back to4.13.0
- so no regression)The text was updated successfully, but these errors were encountered: