Summary: | AX: VoiceOver focus jumps to top of page after using file input | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kimberly Grey <kimberly.grey> | ||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | andresg_22, oliver.byford, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 17 | ||||||
Hardware: | iPhone / iPad | ||||||
OS: | iOS 17 | ||||||
Attachments: |
|
Created attachment 471252 [details] Screen recording of issue on iPhone 14 Pro running iOS 17.4 When using VoiceOver, VoiceOver's focus will sometimes reset back to the top of the page after using a file input, forcing a user to manually navigate back to their previous location on the page. ## Repro steps 1. Activate VoiceOver on an iPhone running iOS 17. 2. In Safari, navigate to a webpage that features a native file input form control. 3. Navigate to the form control and activate it. 4. Select a file. The specifics of the file don't seem to matter. I've been able to reproduce this successfully through all of selecting an image from the Photos app, taking a new photo with the Camera app, and selecting a non-image file from the Files app. 5. Check where VoiceOver's focus has now been placed. This issue appears to be intermittent, so multiple attempts may be required to successfully reproduce it. ## Expected result VoiceOver's focus should return to the file input that the user was previously interacting with. ## Actual result VoiceOver's focus has been reset to the top of the page. ## Additional information A screen recording of this taking place is attached. It was made on an iPhone 14 Pro running iOS 17.4, using the MDN documentation page for the file input type, though I could also reproduce this issue on other webpages and we have had reports of this happening on an iPhone 8 running iOS 16.5 as well.