Bug 210357

Summary: AX: Heading role description cannot be overridden
Product: WebKit Reporter: Dominik Moritz <domoritz>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
Demo webpage none

Description Dominik Moritz 2020-04-10 14:25:14 PDT
Created attachment 396124 [details]
Demo webpage

When using VO on a website with the code below, VO says "heading level 2, hello webkit" instead of "title". I would expect aria-roledescription to have precedence. 


<p<>
    Webkit Bug demo:
</p>

<svg>
    <text role="heading" aria-roledescription="title">Hello Webkit</text>
</svg>
Comment 1 Radar WebKit Bug Importer 2020-04-10 14:25:26 PDT
<rdar://problem/61604544>