Selectmenu: make use of Menu option 'role'

This commit is contained in:
Felix Nagel 2012-05-24 18:41:32 +02:00
parent b30184d885
commit 7345e43048

View File

@ -148,10 +148,10 @@ $.widget( "ui.selectmenu", {
}
}
that.focus = item.index;
}
})
// change ARIA role
.attr( 'role', 'listbox' );
},
// set ARIA role
role: 'listbox'
});
// change menu styles?
if ( this.options.dropdown ) {