Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2609 from Wilto/voiceover-double-buttons
Browse files Browse the repository at this point in the history
Fixes #2594 — Button text is no longer read aloud twice. Thanks @Wilto!
  • Loading branch information
toddparker committed Oct 4, 2011
2 parents 8f8c43f + 1f4d946 commit b1a745a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.mobile.buttonMarkup.js
Expand Up @@ -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 );

Expand Down

0 comments on commit b1a745a

Please sign in to comment.