Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 284b38a3467de31915b2c365aebb8b9a40205bb8
      
https://github.com/WebKit/WebKit/commit/284b38a3467de31915b2c365aebb8b9a40205bb8
  Author: Etienne Segonzac <[email protected]>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M LayoutTests/interaction-region/aria-roles-expected.txt
    M LayoutTests/interaction-region/aria-roles.html
    M Source/WebCore/page/InteractionRegion.cpp

  Log Message:
  -----------
  [visionOS] `role=slider` elements should get InteractionRegions
https://bugs.webkit.org/show_bug.cgi?id=305606
<rdar://162690888>

Reviewed by Tim Horton.

We already maintain a list of ARIA roles that get InteractionRegions
regardless of the cursor check. Add `slider` to this list.

Tests: interaction-region/aria-roles.html

* LayoutTests/interaction-region/aria-roles-expected.txt:
* LayoutTests/interaction-region/aria-roles.html:
Update the test.

* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::shouldAllowAccessibilityRoleAsPointerCursorReplacement):
Add the extra role to the list in the existing function.

Canonical link: https://commits.webkit.org/305724@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to