[wpt-sync] Sync PR 64173 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321874
Categories
(Core :: Disability Access APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64173 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64173
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321874
WebKit export from bug: Accessible name of a display:<!----> contents element includes text from its siblings
<pre>
Accessible name of a display: contents element includes text from its siblingsName from contents walks the element's children by taking its first child and then repeatedly the next
sibling. A display: contents element has no box for its children to hang off, so the object after its last
child is one of the element's own siblings, and the walk carries on into it. The check meant to stop this only
did so when the next object had a display: contents parent of its own that differed, which the siblings do
not have, so nothing stopped it. Ask instead whether the next object is still a child of the element we
started from.Chrome and Firefox name all of the cases in the test "x". Whether the leak was visible depended on what
followed in the markup, which is why the div at line 66 of
css/css-display/accessibility/display-contents-role-and-label.html reported "x x x x" while the same shape
with the link role a hundred lines later reported "x": the latter is followed by a display: contents list
whose item did trip the old check, and the two objects it had already walked into were whitespace only.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321874">https://bugs.webkit.org/show_bug.cgi?id=321874</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/319287@main">https://commits.webkit.org/319287@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=111416
| Assignee | ||
Comment 2•26 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 18 tests and 4 subtests
Status Summary
Firefox
OK : 1[GitHub] 18[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 4[GitHub] 462[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 18
Chrome
OK : 1
PASS: 4
Safari
OK : 1
PASS: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /accname/name/comp_name_from_content.html [wpt.fyi]
- button with alt counter on ::before:
FAIL - heading with alt counter on ::before:
FAIL - link with alt counter on ::before:
FAIL - button with multiple alt counters and counter increments:
FAIL - heading with multiple alt counters and counter increments:
FAIL - link with multiple alt counters and counter increments:
FAIL
- button with alt counter on ::before:
- /accname/name/comp_name_from_content_alt_counter_invalidation.html [wpt.fyi]
- button with alt counter on ::before:
FAIL - heading with alt counter on ::before:
FAIL - link with alt counter on ::before:
FAIL
- button with alt counter on ::before:
- /accname/name/comp_name_from_content_alt_counter_multi_instance.html [wpt.fyi]
- first button:
FAIL - heading:
FAIL - link:
FAIL
- first button:
- /accname/name/comp_name_from_heading.tentative.html [wpt.fyi]
- alertdialog role, name from heading:
FAIL - article role, name from heading:
FAIL - dialog role, name from heading:
FAIL - native dialog element, name from heading:
FAIL - article role, name from DFS heading:
FAIL
- alertdialog role, name from heading:
- /accname/name/comp_tooltip.tentative.html [wpt.fyi]
- img with tooltip label with empty alt:
FAIL
- img with tooltip label with empty alt:
Comment 4•19 days ago
|
||
| bugherder | ||
Description
•