[Webkit-unassigned] [Bug 162269] New: AX: aria-pressed state not correctly conveyed to VoiceOver iOS on <button> unless role=button added

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 08:26:48 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=162269

            Bug ID: 162269
           Summary: AX: aria-pressed state not correctly conveyed to
                    VoiceOver iOS on <button> unless role=button added
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: paul at pauljadam.com
                CC: webkit-bug-importer at group.apple.com

Overview:
When aria-pressed is set on a native HTML <button> element the state is not conveyed to VoiceOver iOS 10, however, if the extra role="button" attribute/value is added to the <button> tag, e.g. <button aria-pressed="true" role="button"> works but <button aria-pressed="true"> does not work. 

Steps to Reproduce:
1. Turn on VoiceOver on iOS 10.
2. Visit http://pauljadam.com/demos/button.html in Safari iOS
3. Activate the aria-pressed button example under the aria-pressed heading.
4. Notice that aria-pressed button is now visually styled to look pressed and the aria-pressed attribute has been updated to equal "true". 
5. Set VoiceOver focus to the newly pressed button.

Expected Results:
VoiceOver speaks "aria-pressed Toggle button Pressed Double tap to toggle setting."

Actual Results:
VoiceOver speaks "aria-pressed Toggle button Not pressed Double tap to toggle setting."

Additional Information:
The second aria-pressed role iOS bug button works properly because the extra aria-pressed="true" attribute/value is added.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160920/65790649/attachment.html>


More information about the webkit-unassigned mailing list