Bug 260601 - AX: Voiceover cannot navigate to the pop-up context menu
Summary: AX: Voiceover cannot navigate to the pop-up context menu
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-22 23:00 PDT by Haowen
Modified: 2023-08-22 23:11 PDT (History)
2 users (show)

See Also:


Attachments
The recording where the voice over doesn't work as expected (1.67 MB, video/quicktime)
2023-08-22 23:00 PDT, Haowen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haowen 2023-08-22 23:00:44 PDT
Created attachment 467394 [details]
The recording where the voice over doesn't work as expected

For accessibility users, when voiceover is on, they can double tap and hold to call out the context menu. Then when they swipe right, the focus should move to the context menu. But currently it doesn't work in WebKit/Safari.
It works well in native app like notes.
I tried two demos.

The first one only contains an editable div
<html>
  <body>
    <h1>Content Editable Div</h1>
    <div
      contenteditable="true"
      style="min-height: 500px; border: 1px solid gray; padding: 3px"
    >
      <p>Some text here</p>
    </div>
  </body>
</html>

Then it works as expected.

But when I add a button after the div, it's broken.

<html>
  <body>
    <h1>Content Editable Div</h1>
    <div
      contenteditable="true"
      style="min-height: 500px; border: 1px solid gray; padding: 3px"
    >
      <p>Some text here</p>
    </div>
    <button>test</button>
  </body>
</html>
Comment 1 Radar WebKit Bug Importer 2023-08-22 23:00:56 PDT
<rdar://problem/114302779>
Comment 2 Haowen 2023-08-22 23:11:51 PDT
To Reproduce
Steps to reproduce the behavior:

1. Focus on a content editable Div and type some words on iOS
2. Turn on VoiceOVer
3. Double tap and hold for a while, then the context menu will pop up
4. Swipe right to focus on the menu item