WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233907
AX: ARIA "form" role should vend AXSubrole: AXLandmarkForm.
https://bugs.webkit.org/show_bug.cgi?id=233907
Summary
AX: ARIA "form" role should vend AXSubrole: AXLandmarkForm.
James Craig
Reported
2021-12-06 19:17:34 PST
AX: ARIA "form" role should vend AXSubrole: AXLandmarkForm. AFAIK, AXRole should still be AXGroup. Seems like this landmark may have been overlooked when the other landmarks were added. There may be additional Radars needed on the platforms to support AT rotor navigation, for example.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-12-06 19:17:49 PST
<
rdar://problem/86135614
>
James Craig
Comment 2
2021-12-06 19:17:53 PST
From:
https://github.com/w3c/core-aam/issues/101
James Craig
Comment 3
2022-02-10 13:27:22 PST
Update... [AXSubrole: AXLandmarkForm] for role=form but only if the form is labeled, e.g. with aria-label. Note: There is some ambiguity on whether the landmark mapping should apply to the native <form> element if it has a label like <form title="foo">. Seeking comment from ARIA contributors.
James Craig
Comment 4
2022-02-10 13:30:02 PST
one of the related ARIA discussions:
https://github.com/w3c/core-aam/issues/100
James Craig
Comment 5
2022-02-10 13:31:23 PST
Joanie made the related ATK change here:
https://bugs.webkit.org/attachment.cgi?id=323323&action=prettypatch
James Craig
Comment 6
2022-02-10 14:13:53 PST
I think it's probably fine to change the subrole for <form title="foo"> too. It's already exposed as a labeled AXGroup, so it'd be highly unlikely to cause an interop regression. The new role description and landmark navigation functionality would be an innocuous improvement. Unlabeled <div role=form> and <form> should remain unmapped.
Scott
Comment 7
2022-02-10 14:20:46 PST
"Unlabeled <div role=form> and <form> should remain unmapped." I agree with this statement, and per our conversation in the ARIA wg today: <article role=form> - would fall back to "article" and <div role="form article">...</div> would also fall back to article due to the lack of an explicit name.
Scott
Comment 8
2022-03-03 10:36:18 PST
sorry, misread some of the above. but also since the naming of a form element with native HTML is only possible with the title attribute, then yes - form title=foo should become a form landmark
James Craig
Comment 9
2022-03-03 10:40:28 PST
Thanks Scott.
Rahim Abdi
Comment 10
2025-04-20 12:37:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/44316
EWS
Comment 11
2025-05-10 08:45:51 PDT
Committed
294748@main
(a8728728ea0d): <
https://commits.webkit.org/294748@main
> Reviewed commits have been landed. Closing PR #44316 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug