You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the WAI-ARIA spec, the form and dialog roles are labeled "Accessible Name Required." Does this mean that HTML authors are required to specify an accessible name for <form> and <dialog> elements (e.g. with an aria-label or aria-labelledby attribute) in order to comply with the WAI-ARIA spec?
The question could theoretically be asked about the <img> and <table> elements as well, but it looks like they have other native mechanisms for specifying accessible names as described in HTML Accessibility API Mappings, section 4.1.10 and section 4.1.11 respectively.
(EDIT: Just to clarify, I'm asking if the implicit ARIA semantics of the <form> and <dialog> elements given in the ARIA in HTML specification require these elements to have accessible names as prescribed by the WAI-ARIA specification. I know that the names of the HTML elements and ARIA roles are not directly related.)
Link to the version of the specification or documentation you were looking at at.
In the WAI-ARIA spec, the form and dialog roles are labeled "Accessible Name Required." Does this mean that HTML authors are required to specify an accessible name for
and elements (e.g. with an aria-label or aria-labelledby attribute) in order to comply with the WAI-ARIA spec?
no. What it means is if you use an explicit role. <div role=“dialog”> for example, you must provide an accessible name. The ARIA spec cannot define conformance requirements for native HTML elements.
closes#2180
related to recent question: #2296
This PR removes requiring names for alertdialog, dialog, form, grid, radiogroup and table roles and replaces the author MUST with an author SHOULD. (for grid/table there was no author MUST naming paragraph, so the author SHOULD paragraph was added to these roles).
Describe your concern
In the WAI-ARIA spec, the
form
anddialog
roles are labeled "Accessible Name Required." Does this mean that HTML authors are required to specify an accessible name for<form>
and<dialog>
elements (e.g. with anaria-label
oraria-labelledby
attribute) in order to comply with the WAI-ARIA spec?The question could theoretically be asked about the
<img>
and<table>
elements as well, but it looks like they have other native mechanisms for specifying accessible names as described in HTML Accessibility API Mappings, section 4.1.10 and section 4.1.11 respectively.(EDIT: Just to clarify, I'm asking if the implicit ARIA semantics of the
<form>
and<dialog>
elements given in the ARIA in HTML specification require these elements to have accessible names as prescribed by the WAI-ARIA specification. I know that the names of the HTML elements and ARIA roles are not directly related.)Link to the version of the specification or documentation you were looking at at.
Link to documentation: https://w3c.github.io/aria/
Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)? Yes
The text was updated successfully, but these errors were encountered: