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
<p>The starting point of the name and description computation is a <abbrtitle="Document Object Model">DOM</abbr><aclass="termref">element</a>. The output is a flat, unstructured string that can be as simple as a single word, or a string of space-separated tokens. Examples include <code>Save</code> and <code>Reload from disk</code>.</p>
185
-
<p>An important factor is the <aclass="termref">element</a>'s <aclass="termref">role</a>, that determines which content contributes to the name string. Roles have a <code>nameFrom</code><abbrtitle="Resource Description Framework">RDF</abbr> property, with two possible values: </p>
185
+
<p>An important factor is the <aclass="termref">element</a>'s <aclass="termref">role</a>, that determines which content contributes to the name string. Roles have a <code>nameFrom</code><abbrtitle="Resource Description Framework">RDF</abbr> property, with three possible values: </p>
186
186
<dlclass="runin">
187
187
<dt>author</dt>
188
188
<dd>name is generated from values provided by the author in explicit markup features such as the <code>aria-label</code> and <code>aria-labelledby</code><aclass="termref">attribute</a>, or a host language labeling mechanism, such as the <code>alt</code> or <code>title</code><aclass="termref">attribute</a> in <abbrtitle="Hypertext Markup Language">HTML</abbr>, or the <code>desc</code><aclass="termref">element</a> in <abbrtitle="Scalable Vector Graphics">SVG</abbr>. </dd>
189
189
<dt>contents</dt>
190
190
<dd>name is generated from the <aclass="termref" data-lt="text node">Text nodes</a> associated with the <aclass="termref">element</a>. Although this may be allowed in addition to "author" in some <aclass="termref">roles</a>, "content" is used only if higher priority "author" features are not provided. Priority is defined by the <ahref="#mapping_additional_nd_te">accessible name and description computation</a> algorithm.</dd>
191
+
<dt>prohibited</dt>
192
+
<dd>the element has no name. Authors <emclass="rfc2119" title="MUST NOT">MUST NOT</em> use the <ahref="#aria-label" class="property-reference"><code>aria-label</code></a> or <ahref="#aria-labelledby" class="property-reference"><code>aria-labelledby</code></a> attributes to name the element.</dd>
191
193
</dl>
192
-
<p>The <cite><aclass="specref" href="#">Accessible Rich Internet Applications (WAI-ARIA) 1.2</a></cite> [[!WAI-ARIA]] specification provides lists of roles that support <aclass="specref" href="#namefromauthor">name from author</a> and <aclass="specref" href="#namefromcontent">name from content</a>.</p>
194
+
<p>The <cite><aclass="specref" href="#">Accessible Rich Internet Applications (WAI-ARIA) 1.2</a></cite> [[!WAI-ARIA]] specification provides lists of <aclass="specref" href="#namefromauthor">roles that support name from author</a>, <aclass="specref" href="#namefromcontent">roles that support name from content</a> and <aclass="specref" href="#namefromprohibited">roles that cannot be named</a>.</p>
193
195
<sectionid="mapping_additional_nd_name">
194
196
<h3>Name Computation</h3>
195
197
<p><aclass="termref">User agents</a> MUST compute an <aclass="termref">accessible name</a> using the rules outlined below in the section titled <ahref="#mapping_additional_nd_te">Accessible Name and Description Computation</a>.</p>
0 commit comments