Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eb4daf2fdc4e216869a240434eed73053e966030
https://github.com/WebKit/WebKit/commit/eb4daf2fdc4e216869a240434eed73053e966030
Author: Tyler Wilcock <[email protected]>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
A
LayoutTests/accessibility/isolated-tree/mac/supports-press-action-pointer-events-none-implicitly-interactive-expected.txt
A
LayoutTests/accessibility/isolated-tree/mac/supports-press-action-pointer-events-none-implicitly-interactive.html
A
LayoutTests/accessibility/mac/supports-press-action-pointer-events-none-implicitly-interactive-expected.txt
A
LayoutTests/accessibility/mac/supports-press-action-pointer-events-none-implicitly-interactive.html
M Source/WebCore/accessibility/AXCoreObject.cpp
Log Message:
-----------
AX: VoiceOver can't press buttons with pointer-events: none, like the menu
buttons in apple.com's global navigation
https://bugs.webkit.org/show_bug.cgi?id=325966
rdar://188003870
Reviewed by Dominic Mazzoni.
On apple.com, each menu in the global navigation is toggled by a <button
aria-expanded> that sits over the end
of the menu's link, and has pointer-events: none unless it's keyboard focused.
300596@main made AXCoreObject::supportsPressAction() return false for anything
with pointer-events: none, so
this button stopped advertising AXPress. VoiceOver then clicks the button's
center instead, which lands on the
link underneath, so VO-Space never opens or closes the menu. Space still works,
since the keyboard activates
the button directly.
pointer-events: none only affects pointer input. Implicitly interactive
elements, like buttons, links and form
controls, can still be activated without a pointer, so only let pointer-events:
none rule out pressability we
infer for other elements from click handlers, which is the case 300596@main was
about.
*
LayoutTests/accessibility/isolated-tree/mac/supports-press-action-pointer-events-none-implicitly-interactive-expected.txt:
Added.
*
LayoutTests/accessibility/isolated-tree/mac/supports-press-action-pointer-events-none-implicitly-interactive.html:
Added.
*
LayoutTests/accessibility/mac/supports-press-action-pointer-events-none-implicitly-interactive-expected.txt:
Added.
*
LayoutTests/accessibility/mac/supports-press-action-pointer-events-none-implicitly-interactive.html:
Added.
* Source/WebCore/accessibility/AXCoreObject.cpp:
(WebCore::AXCoreObject::supportsPressAction const):
Canonical link: https://commits.webkit.org/322472@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications