Bug 183513

Summary: AX: VO - Can not send focus to an element with no content or to an element with a visually hidden first child
Product: WebKit Reporter: mfairchild365
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Example html file none

Description mfairchild365 2018-03-09 07:23:29 PST
Created attachment 335425 [details]
Example html file

example: https://mfairchild365.github.io/notes/safari-anchor-link-bug.html

Issue: Can not send focus to an element with no content or to an element with a visually hidden first child

When the element is focused, voiceover jumps to the target, then imminently jumps back to the previously focused element without announcing anything.


Steps to reproduce
1. Turn VoiceOver On
2. Go to this page using safari on iOS
3. Click the 'Go to target with no content' link
4. Click the 'Go to target with content' link
5. Go to target with first child of screen-reader-only content

Expected results
1. The 'Go to target with no content' link moves focus to the target
2. The 'Go to target with content' link moves focus to the target
3. the 'Go to target with first child of screen-reader-only content' link moves focus to the target

Actual results
1. The 'Go to target with no content' link DOES NOT move focus to the target (success)
2. The 'Go to target with content' link moves focus to the target (fail)
3. the 'Go to target with first child of screen-reader-only content' link DOES NOT move focus to the target (fail)
Comment 1 Radar WebKit Bug Importer 2018-03-09 07:23:43 PST
<rdar://problem/38301684>