[webkit-changes] [WebKit/WebKit] 0b9043: `role=textbox` elements should get InteractionRegions
Etienne Segonzac
noreply at github.com
Mon Jan 15 23:52:05 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0b90437aa9009af380e57f0b5f5eedaa526e76fc
https://github.com/WebKit/WebKit/commit/0b90437aa9009af380e57f0b5f5eedaa526e76fc
Author: Etienne Segonzac <sgz at apple.com>
Date: 2024-01-15 (Mon, 15 Jan 2024)
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:
-----------
`role=textbox` elements should get InteractionRegions
https://bugs.webkit.org/show_bug.cgi?id=267544
<rdar://117607868>
Reviewed by Anne van Kesteren.
Add `TextField` to the list of roles that can be used instead of
`cursor: pointer;`, this is what `role=textbox` maps to.
* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::shouldAllowAccessibilityRoleAsPointerCursorReplacement):
Add a `TextField` case.
* LayoutTests/interaction-region/aria-roles-expected.txt:
* LayoutTests/interaction-region/aria-roles.html:
Add a test covering this change.
Canonical link: https://commits.webkit.org/273055@main
More information about the webkit-changes
mailing list