mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-17 12:51:00 +00:00
Merge pull request #2609 from Wilto/voiceover-double-buttons
Fixes #2594 — Button text is no longer read aloud twice. Thanks @Wilto!
This commit is contained in:
commit
a783c740e8
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ $.fn.buttonMarkup = function( options ) {
|
|||
el.attr( "data-" + $.mobile.ns + "theme", o.theme )
|
||||
.addClass( buttonClass );
|
||||
|
||||
wrap = ( "<D class='" + innerClass + "'><D class='ui-btn-text'></D>" +
|
||||
wrap = ( "<D class='" + innerClass + "' aria-hidden='true'><D class='ui-btn-text'></D>" +
|
||||
( o.icon ? "<span class='" + iconClass + "'></span>" : "" ) +
|
||||
"</D>" ).replace( /D/g, o.wrapperEls );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue