Bug 158865 - AX: VoiceOver doesn't properly announce fieldset inputs when wrapped in divs
Summary: AX: VoiceOver doesn't properly announce fieldset inputs when wrapped in divs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.3
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-06-16 21:56 PDT by Chris Bateman
Modified: 2017-01-06 13:41 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bateman 2016-06-16 21:56:14 PDT
Demo: http://output.jsbin.com/vaviwa

If the inputs/labels inside a fieldset (or role="group") are wrapped in divs - they will announce as "one of one" rather than "one of five" (if there are 5 inputs).

The issue can be fixed by placing role="presentation" on the parent divs. If there are multiple levels of divs - only the immediate parent of the input needs the role.
Comment 1 Radar WebKit Bug Importer 2016-06-16 21:56:38 PDT
<rdar://problem/26856152>
Comment 2 Chris Bateman 2017-01-06 13:41:42 PST
Looks like this was fixed in iOS 10!