Selectmenu: Remove aria-selected, since that only causes NVDA to announce 'not selected', doesn't have any positive effect

This commit is contained in:
Jörn Zaefferer 2013-03-09 13:00:38 +01:00
parent a7ea386498
commit 775b81b9e6

View File

@ -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