Bug 256012 - AX: WebKit computes incorrect label for embedded controls
Summary: AX: WebKit computes incorrect label for embedded controls
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-26 14:17 PDT by James Craig
Modified: 2023-09-28 17:26 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 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"
Comment 1 Radar WebKit Bug Importer 2023-04-26 14:18:02 PDT
<rdar://problem/108575126>
Comment 2 James Craig 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
Comment 3 James Craig 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…"
Comment 4 James Craig 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