Button text gets repeated in VoiceOver #2594

Closed
rogerjohansson opened this Issue Oct 3, 2011 · 1 comment

3 participants

@rogerjohansson

The form buttons on http://jquerymobile.com/test/docs/buttons/buttons-types.html are read twice by VoiceOver (tested with Safari 5.1 on OS X 10.6.8) – first the visible, "fake" button, then the real button. The same thing happens i iOS (tested in iOS 4.3.5) when you let VoiceOver read the whole page by swiping downwards with two fingers.

It appears that setting aria-hidden="true" (http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden) for the "ui-btn-text" element prevents this and makes VoiceOver speak only the real button.

@toddparker

Thanks for the tip Roger! We'll try to get this in for RC2.

@scottjehl scottjehl was assigned Oct 3, 2011
@Wilto Wilto added a commit to Wilto/jquery-mobile that referenced this issue Oct 4, 2011
@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 pushed a commit that closed this issue Oct 4, 2011
@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 closed this in 3c3a777 Oct 4, 2011
@toddparker toddparker closed this in a783c74 Oct 4, 2011
@timmywil timmywil pushed a commit that referenced this issue Oct 24, 2011
@Wilto Wilto Fixes #2594 — Button text is no longer read aloud twice (and treated …
…as two separate navigable items) in iOS VoiceOver.
1f4d946
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment