Bug 146066

Summary: AX: VoiceOver in iOS not announcing generic WAI-ARIA region, even if labelled properly
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Severity: Normal CC: aboxhall, apinheiro, commit-queue, dmazzoni, jcraig, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
patch darin: review+

Description chris fleizach 2015-06-17 09:32:46 PDT
Besides the WAI-ARIA landmark regions, developers can also create a generic role="region" and then assign it a aria-label. However, VO is not announcing the start of any generic regions.

Steps to Reproduce:
Go to http://wafflerama.com/a11y/landmarks.html
Ensure VoiceOver is running
Navigate through the page (right flick) until you reach the 6th line under the Landmarks with Labels heading

Expected Results:
VoiceOver should announce "test region" then the text inside the region.

Actual Results:
VoiceOver does not announce the region, but simply reads the text.

Comment 1 chris fleizach 2015-06-17 09:35:25 PDT
Created attachment 255020 [details]
Comment 2 WebKit Commit Bot 2015-06-17 09:38:19 PDT
Attachment 255020 [details] did not pass style-queue:

ERROR: Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:436:  A case label should not be indented, but line up with its switch statement.  [whitespace/indent] [4]
Total errors found: 1 in 5 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 chris fleizach 2015-06-17 16:21:31 PDT