Closed Bug 1886903 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45265 - Apply an accessible name to form.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45265 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45265
Details from upstream follow.

Chris Harrelson <chrishtr@google.com> wrote:

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), so I
did not add a testcase for that situation.

Change-Id: I6c6a93485a55a6645547cdf9e4eb4c8751e45141

Reviewed-on: https://chromium-review.googlesource.com/5384597
WPT-Export-Revision: 6cf6f702be61d77e01c6eca4b459caab2ec0bedc

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 58 subtests

Status Summary

Firefox

OK : 1
PASS: 58

Chrome

OK : 1
PASS: 58

Safari

OK : 1
PASS: 49
FAIL: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb3a1b29c38a [wpt PR 45265] - Apply an accessible name to form., a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.