Bug 185219

Summary: AX: In role=dialog elements with aria-modal=true VoiceOver iOS/macOS can't manually focus or read dialog paragraph description text inside the modal.
Product: WebKit Reporter: Paul J. Adam <paul>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Severity: Major CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, ews, jcraig, jdiggs, n_wang, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 11   
Hardware: All   
OS: All   
Description Flags
dialog demo page
patch none

Description Paul J. Adam 2018-05-02 14:49:05 PDT
Created attachment 339346 [details]
dialog demo page

Steps to Reproduce: 
1. Turn on VoiceOver on macOS or iOS latest stable public versions. 
2. Visit http://pauljadam.com/demos/dialog.html in Safari and open the modal dialog. 
3. Manually move VoiceOver screen reader focus to the <p> text "The quick brown fox jumps over the lazy dog."

Actual Results: 
1. VoiceOver skips over the text "The quick brown fox jumps over the lazy dog." and cannot focus on that text or read it manually. 

Expected Results:
1. VoiceOver focuses and reads the text "The quick brown fox jumps over the lazy dog."
Comment 1 Radar WebKit Bug Importer 2018-05-02 14:49:22 PDT
Comment 2 Nan Wang 2018-05-11 10:54:08 PDT
Created attachment 340202 [details]
Comment 3 Build Bot 2018-05-11 10:56:34 PDT
Attachment 340202 [details] did not pass style-queue:

ERROR: Source/WebCore/accessibility/AccessibilityObject.cpp:2091:  Declaration has space between type name and * in Node *node  [whitespace/declaration] [3]
Total errors found: 1 in 5 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Nan Wang 2018-05-11 11:02:38 PDT
Created attachment 340203 [details]

update style
Comment 5 WebKit Commit Bot 2018-05-11 14:58:24 PDT
Comment on attachment 340203 [details]

Clearing flags on attachment: 340203

Committed r231720: <https://trac.webkit.org/changeset/231720>
Comment 6 WebKit Commit Bot 2018-05-11 14:58:26 PDT
All reviewed patches have been landed.  Closing bug.