Bug 252681

Summary: AX: Don't expose aria-roledescription value on role="generic" elements
Product: WebKit Reporter: valerie young <spectranaut>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description valerie young 2023-02-21 11:31:58 PST
This is follow up to: https://bugs.webkit.org/show_bug.cgi?id=174248

According to the spec, aria-roledescription should not be surfaced in this scenario:

<p role="generic" aria-roledescription="foo">content</p>k

However, in webkit, AXRoleDescription is exposed as 'foo'
Comment 1 Radar WebKit Bug Importer 2023-02-21 11:32:15 PST
<rdar://problem/105736182>