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

Button text gets repeated in VoiceOver #2594

Closed
rogerjohansson opened this issue Oct 3, 2011 · 1 comment · Fixed by #2609
Closed

Button text gets repeated in VoiceOver #2594

rogerjohansson opened this issue Oct 3, 2011 · 1 comment · Fixed by #2609
Assignees
Milestone

Comments

@rogerjohansson
Copy link

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
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants