Files
tubestation/testing/web-platform/tests/html-aam
Chris Harrelson be9cf9823f Bug 1886903 [wpt PR 45265] - Apply an accessible name to form., a=testonly
Automatic update from web-platform-tests
Apply an accessible name to form.

The spec says that the "form" role only makes it a "landmark" if there
is an accessible name.

ARIA 1.3 says that the form role is a sub-role of landmark:
https://w3c.github.io/aria/, so if there is no accessible role then
the "form" role is inappropriate.

Since HTML-AAM doesn't say what the role should be otherwise (maybe
it should be "section"? That's what Chromium currently does), I
did not add a testcase for that situation.

Bug: 41490744

Change-Id: I6c6a93485a55a6645547cdf9e4eb4c8751e45141
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5384597
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1276910}

--

wpt-commits: 12366f9880df6c2d716b6c9ef75c32b5df0132ac
wpt-pr: 45265
2024-03-27 10:30:21 +00:00
..