Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4492ac14176ce45aab4280d85c1bf9628f49b00
      
https://github.com/WebKit/WebKit/commit/e4492ac14176ce45aab4280d85c1bf9628f49b00
  Author: Etienne Segonzac <[email protected]>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  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:
  -----------
  Complete the list of ARIA roles used for Interaction Regions
https://bugs.webkit.org/show_bug.cgi?id=253460
<rdar://105700895>

Reviewed by Tim Horton.

Expand the list of ARIA roles that enable the creation of an
Interaction Region.

* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::shouldAllowAccessibilityRoleAsPointerCursorReplacement):
Extract the ARIA check in a function.
(WebCore::shouldAllowNonPointerCursorForElement):
Use the new function when evaluating an element missing
`cursor:pointer`.

* LayoutTests/interaction-region/aria-roles-expected.txt:
* LayoutTests/interaction-region/aria-roles.html:
Fix an issue with the existing `role="button"` test case.
Add new cases covering this change.

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to