| Summary: | AX: ARIA "form" role should vend AXSubrole: AXLandmarkForm. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | andresg_22, scottaohara, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
James Craig
2021-12-06 19:17:34 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. one of the related ARIA discussions: https://github.com/w3c/core-aam/issues/100 Joanie made the related ATK change here: https://bugs.webkit.org/attachment.cgi?id=323323&action=prettypatch 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. "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. 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 Thanks Scott. |