Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes #2594 — Button text is no longer read aloud twice. #2609

Merged
merged 1 commit into from

2 participants

@Wilto

Fixes #2594 — Button text is no longer read aloud twice (and treated as two separate, navigable items) in iOS VoiceOver.

@Wilto Wilto Fixes #2594 — Button text is no longer read aloud twice (and treated …
…as two separate navigable items) in iOS VoiceOver.
3c3a777
@toddparker toddparker merged commit a783c74 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2011
  1. @Wilto

    Fixes #2594 — Button text is no longer read aloud twice (and treated …

    Wilto authored
    …as two separate navigable items) in iOS VoiceOver.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.mobile.buttonMarkup.js
View
2  js/jquery.mobile.buttonMarkup.js
@@ -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 );
Something went wrong with that request. Please try again.