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; that.focus = item.index;
} },
}) // set ARIA role
// change ARIA role role: 'listbox'
.attr( 'role', 'listbox' ); });
// change menu styles? // change menu styles?
if ( this.options.dropdown ) { if ( this.options.dropdown ) {