Bug 249154

Summary: AX: Role of combobox on button cuts off screen reader announcement (voice over)
Product: WebKit Reporter: Amro Ali <amro.ali>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   

Description Amro Ali 2022-12-12 09:48:11 PST
Steps to reproduce:
1. Create a button (see code pen below) element and apply a role = combobox. Make sure the button has a label that will be announced by a screen reader (such as "submit).
2. Launch voice over and navigate to this button

Expected: The name "submit" is announced
Actual: "submit" is actually cutoff and only "su" or "sub" is announced.

Codepen example: https://codepen.io/ljones2886/pen/jOKQOLz
Comment 1 Radar WebKit Bug Importer 2022-12-12 09:48:26 PST
<rdar://problem/103257937>