Bug 236880

Summary: AX: aria-expanded is blocking VO click events on comboboxes
Product: WebKit Reporter: Aron Janecki <aron_j>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   
Attachments:
Description Flags
Crude test case of the aria-expanded issue none

Aron Janecki
Reported 2022-02-19 04:19:51 PST
Created attachment 452635 [details] Crude test case of the aria-expanded issue Hello I've noticed a bug specific to Safari. When using VoiceOver, I'm able to send a click event (VO+Space) to an element with the role="combobox" attribute only when it does not have the aria-expanded attribute. Once the attribute is set, regardless of its value, the click action does not work. I'm able to send the click event for comboboxes with aria-expanded in Chrome and Firefox. See the live example of a select only combobox in the ARIA authoring practices- https://www.w3.org/TR/wai-aria-practices-1.2/examples/combobox/combobox-select-only.html If you remove the aria-expanded="false" from the element in the web inspector and try sending the click- it will work- the listbox popup will expand. Some other notes: - it seems that Safari is treating an element with role="combobox" and aria-expanded="false" as if it was expanded as it begins the announcement with the word "confirm", - aria-expanded is a required state as per the ARIA spec (https://www.w3.org/TR/wai-aria-1.1/#combobox) meaning that it must be present at all times - the issue will be highly problematic once ARIA 1.2 turns into a recommendation (currently in candidate recommendation meaning it is close to become the spec) as 1.2 officially acknowledges comboboxes as select-only and text field comboboxes whereas previous versions were treating this element as if it always had to have a text box. Alos, see the attached aria-ExpandedComboboxIssue.html file that shows the issue but displaying the system alert dialog on click.
Attachments
Crude test case of the aria-expanded issue (2.71 KB, text/html)
2022-02-19 04:19 PST, Aron Janecki
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-19 04:20:01 PST
Aron Janecki
Comment 2 2022-02-19 04:25:12 PST
*** This bug has been marked as a duplicate of bug 236881 ***
Note You need to log in before you can comment on or make changes to this bug.