Bug 260837 - AX: VoiceOver reads inert number and range inputs when dialog is open in Safari
Summary: AX: VoiceOver reads inert number and range inputs when dialog is open in Safari
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-28 17:46 PDT by jbugz123456789
Modified: 2023-08-28 18:20 PDT (History)
3 users (show)

See Also:


Attachments
HTML page with dialog and relevant inputs for testing (1003 bytes, text/html)
2023-08-28 17:46 PDT, jbugz123456789
no flags Details
Screen recording demonstrating VO reading inert input elements (1.27 MB, video/quicktime)
2023-08-28 17:48 PDT, jbugz123456789
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbugz123456789 2023-08-28 17:46:39 PDT
Created attachment 467474 [details]
HTML page with dialog and relevant inputs for testing

When a dialog element is opened in Safari, input type="range" and input type="number" elements outside of the dialog that are marked `inert` when the dialog is opened are reachable via the arrow keys when navigating with VoiceOver.  See attached video example or follow steps below.

Steps to reproduce:
1. Open attached html example in Safari
2. Turn VoiceOver on
3. Using VoiceOver, open the dialog via the "Open Dialog" button
4. Use the arrow keys to navigate through the dialog elements
5. Observe that VoiceOver navigates past the boundary of the dialog and focuses the thumb of the range input and reads "value indicator", and focuses the spin buttons of the number input and reads "0, stepper"

Expected result: VoiceOver should not access any inert web content behind an open dialog
Actual result: VoiceOver reads certain inert input elements when navigating content in a dialog

I tested this with a variety of other input types and did not encounter the same issue, only with range and number.  It also appears to be limited to Safari; I was unable to reproduce the issue in Chrome or Firefox.

Tested on Safari 16.6, macOS Big Sur 11.7.9.  Unable to confirm whether this is reproducible on other macOS versions.
Comment 1 Radar WebKit Bug Importer 2023-08-28 17:46:54 PDT
<rdar://problem/114597118>
Comment 2 jbugz123456789 2023-08-28 17:48:26 PDT
Created attachment 467475 [details]
Screen recording demonstrating VO reading inert input elements