mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: Remove aria-selected, since that only causes NVDA to announce 'not selected', doesn't have any positive effect
This commit is contained in:
parent
a7ea386498
commit
775b81b9e6
2
ui/jquery.ui.selectmenu.js
vendored
2
ui/jquery.ui.selectmenu.js
vendored
@ -372,8 +372,6 @@ $.widget( "ui.selectmenu", {
|
|||||||
id = link.attr( "id" );
|
id = link.attr( "id" );
|
||||||
|
|
||||||
// change ARIA attr
|
// change ARIA attr
|
||||||
this.menuItems.attr( "aria-selected", false );
|
|
||||||
link.attr( "aria-selected", true );
|
|
||||||
this.button.attr({
|
this.button.attr({
|
||||||
"aria-labelledby": id,
|
"aria-labelledby": id,
|
||||||
"aria-activedescendant": id
|
"aria-activedescendant": id
|
||||||
|
Loading…
Reference in New Issue
Block a user