Permalink
Browse files

Select: hide generated <span> from AT

Fixes gh-8256
Closes gh-8358
  • Loading branch information...
patrickhlauke authored and arschmitz committed Jan 18, 2016
1 parent 4513263 commit 92ef0c13e88bd9b41cbaab7f6fe45359c57f5455
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/widgets/forms/select.js
@@ -270,6 +270,9 @@ return $.widget( "mobile.selectmenu", $.extend( {
span.html( "&#160;" );
}
// hide from assistive technologies, as otherwise this will create redundant text announcement - see gh-8256
span.attr( "aria-hidden", "true" );
// TODO possibly aggregate multiple select option classes
return span
.addClass( self.select.attr( "class" ) )

0 comments on commit 92ef0c1

Please sign in to comment.