Bug 261457

Summary: AX: Fix failing WPT menu-roles test
Product: WebKit Reporter: Hunseop Jeong <hs85jeong>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Hunseop Jeong 2023-09-11 23:44:17 PDT
Currently, some of the WPT menu-roles tests[1] have failed.
According to the ARIA spec[2], if a menuitem has a group as first parent and a menu or menubar as the second parent, it must be a menuitem role.

[1]: https://wpt.fyi/results/wai-aria/role/menu-roles.html
[2]: https://w3c.github.io/aria/#menu
Comment 1 Radar WebKit Bug Importer 2023-09-11 23:44:26 PDT
<rdar://problem/115336495>
Comment 2 Hunseop Jeong 2023-09-12 00:21:01 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17687
Comment 3 EWS 2023-09-13 09:45:30 PDT
Committed 267955@main (2e6a3871e571): <https://commits.webkit.org/267955@main>

Reviewed commits have been landed. Closing PR #17687 and removing active labels.