Bug 256012

Summary: AX: WebKit computes incorrect label for embedded controls
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

James Craig
Reported 2023-04-26 14:17:40 PDT
WebKit computes incorrect label for embedded controls. In the WPT tests (cross referenced in WebKit tests) /accname/name/comp_embedded_control.html Results: https://wpt.fyi/results/accname/name/comp_embedded_control.html?label=master&label=experimental&aligned&q=path%3A%2Faccessibility%20or%20path%3A%2Faccname%20or%20path%3A%2Fhtml-aam%20or%20path%3A%2Fwai-aria%20or%20path%3A%2Fhtml%2Fdom%2Faria-element-reflection.html Expected: "Flash the screen 3 times" Actual: "Flash the screen number of times times"
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-26 14:18:02 PDT
James Craig
Comment 2 2023-04-26 14:38:46 PDT
That test currently only tests one of the variants. More automation will come, but the spec algorithm is here: https://w3c.github.io/accname/#comp_embedded_control
James Craig
Comment 3 2023-04-26 14:39:51 PDT
See bullet starting with "C. Embedded Control: Otherwise, if the current node is a control embedded within the label…"
James Craig
Comment 4 2023-09-28 17:26:48 PDT
WPT PR coming soon that shows failures for different types of controls. Mostly similar but a few implementation differences. PR preview for Safari results https://wpt.fyi/results/accname/name/comp_embedded_control.html?diff&filter=ADC&run_id=6249383282081792&run_id=5173468926050304 Once the PR lands, those additional failures will be visible here, too. https://wpt.fyi/results/accname/name/comp_embedded_control.html?label=experimental&label=master&aligned
Note You need to log in before you can comment on or make changes to this bug.