Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 57486e8cd2b77c1af67f202a1c3dc0dce8b05e4d
https://github.com/WebKit/WebKit/commit/57486e8cd2b77c1af67f202a1c3dc0dce8b05e4d
Author: Tyler Wilcock <[email protected]>
Date: 2026-03-20 (Fri, 20 Mar 2026)
Changed paths:
M
LayoutTests/accessibility/combobox/mac/combobox-activedescendant-notifications-expected.txt
M
LayoutTests/accessibility/combobox/mac/combobox-activedescendant-notifications.html
M Source/WebCore/accessibility/AccessibilityObject.cpp
Log Message:
-----------
AX: Comboboxes don't forward focus to it's active descendant, preventing ATs
from interacting with the combobox list items
rdar://172931277
https://bugs.webkit.org/show_bug.cgi?id=310295
Reviewed by Joshua Hoffman.
AccessibilityObject::shouldFocusActiveDescendant() was missing ComboBox, even
though
supportsActiveDescendant() already included it. This meant that when
aria-activedescendant
changed on a combobox (e.g. as the user arrows through options), WebKit posted
AXActiveElementChanged but not AXFocusedUIElementChanged for the active
descendant. Without
the FocusedUIElementChanged notification, VoiceOver didn't move its cursor to
the highlighted
option, preventing it from reading the option text.
Fix this by adding ComboBox to shouldFocusActiveDescendant().
*
LayoutTests/accessibility/combobox/mac/combobox-activedescendant-notifications-expected.txt:
*
LayoutTests/accessibility/combobox/mac/combobox-activedescendant-notifications.html:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::shouldFocusActiveDescendant const):
Canonical link: https://commits.webkit.org/309641@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications