Bug 178233 - AX: aria-modal Attribute is Breaking Form Labels
Summary: AX: aria-modal Attribute is Breaking Form Labels
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 11
Hardware: Mac macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-12 14:15 PDT by Ugi K.
Modified: 2017-10-12 14:16 PDT (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 Ugi K. 2017-10-12 14:15:31 PDT
Description: 
If aria-modal attribute is set on a container element, none of the form labels (implicit or explicit) are read by VO

Sample Code:
https://codepen.io/wizzyfx/pen/eGrOKr

Steps:
1- Activate Voiceover
2- Open sample code in Safari, ( Modal dialog with aria-modal attribute set to true, and a form element inside)
3- Navigate to Form element (Checkbox, Text Input, Radio etc) 
4- Observe the speech output

Expected:
When focused using Tab or Arrow Key navigation, the form fields are correctly associated with their labels and read accordingly.

Actual:
When focused using Tab or Arrow Key navigation, the form fields are read as generic fields, without any label.
Comment 1 Radar WebKit Bug Importer 2017-10-12 14:16:23 PDT
<rdar://problem/34963574>