Skip to content

Commit 103dec9

Browse files
authored
Revert new labeling mechanisms (#1491)
* Revert new labeling mechanisms * remove encapsulation from meter * remove extra sections
1 parent 29dcc31 commit 103dec9

File tree

1 file changed

+7
-261
lines changed

1 file changed

+7
-261
lines changed

index.html

+7-261
Original file line numberDiff line numberDiff line change
@@ -685,8 +685,6 @@ <h3>Accessible Name Calculation</h3>
685685
<ol>
686686
<li>author: name comes from values provided by the author in explicit markup features such as the <pref>aria-label</pref> attribute, the <pref>aria-labelledby</pref> attribute, or the host language labeling mechanism, such as the <code>alt</code> or <code>title</code> attributes in <abbr title="Hypertext Markup Language">HTML</abbr>, with HTML <code>title</code> attribute having the lowest precedence for specifying a text alternative.</li>
687687
<li>contents: name comes from the text value of the <a>element</a> node. Although this may be allowed in addition to "author" in some <a>roles</a>, this is used in content only if higher priority "author" features are not provided. Priority is defined by the <a href="#mapping_additional_nd_te" class="accname">accessible name and description computation</a> algorithm [[ACCNAME-1.2]].</li>
688-
<li>encapsulation: name comes from the text value of the <a>element</a> node with role <code>label</code> that is the closest ancestor. Although "encapsulation" may be allowed in addition to "author" and "contents" in some <a>roles</a>, "encapsulation" is used only if higher priority "author" features are not provided. Priority is defined by the <a href="#mapping_additional_nd_te" class="accname">accessible name and description computation</a> algorithm.</li>
689-
<li>legend: name comes from the text value of the first descendant <a>element</a> node with the role of <code>legend</code>. Although "legend" may be allowed in addition to "author" in some <a>roles</a>, "legend" is used in content only if higher priority "author" features are not provided. Priority is defined by the <a href="#mapping_additional_nd_te" class="accname">accessible name and description computation</a> algorithm.</li>
690688
<li>prohibited: the element does not support name from author. Authors MUST NOT use the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attributes to name the element.</li>
691689
</ol>
692690
</dd>
@@ -711,16 +709,6 @@ <h4>Roles Supporting Name from Author</h4>
711709
<section id="namefromcontent">
712710
<h4>Roles Supporting Name from Content</h4>
713711
<div id="index_fromcontent">
714-
</div>
715-
</section>
716-
<section id="namefromencapsulation">
717-
<h4>Roles Supporting Name from Encapsulation</h4>
718-
<div id="index_fromencapsulation">
719-
</div>
720-
</section>
721-
<section id="namefromlegend">
722-
<h4>Roles Supporting Name from Legend</h4>
723-
<div id="index_fromlegend">
724712
</div>
725713
</section>
726714
<section id="namefromprohibited">
@@ -846,8 +834,6 @@ <h3>Document Structure Roles</h3>
846834
<li><rref>heading</rref></li>
847835
<li><rref>img</rref></li>
848836
<li><rref>insertion</rref></li>
849-
<li><rref>label</rref></li>
850-
<li><rref>legend</rref></li>
851837
<li><rref>list</rref></li>
852838
<li><rref>listitem</rref></li>
853839
<li><rref>mark</rref></li>
@@ -2076,7 +2062,6 @@ <h2>Definition of Roles</h2>
20762062
<td class="role-namefrom">
20772063
<ul>
20782064
<li>contents</li>
2079-
<li>encapsulation</li>
20802065
<li>author</li>
20812066
</ul>
20822067
</td>
@@ -3989,12 +3974,7 @@ <h2>Definition of Roles</h2>
39893974
</tr>
39903975
<tr>
39913976
<th class="role-namefrom-head" scope="row">Name From:</th>
3992-
<td class="role-namefrom">
3993-
<ul>
3994-
<li>author</li>
3995-
<li>legend</li>
3996-
</ul>
3997-
</td>
3977+
<td class="role-namefrom">author</td>
39983978
</tr>
39993979
<tr>
40003980
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -4343,111 +4323,6 @@ <h5>Note regarding the ARIA 1.3 <code>image</code> role.</h5>
43434323
</tbody>
43444324
</table>
43454325
</div>
4346-
<div class="role" id="label">
4347-
<rdef>label</rdef>
4348-
<div class="role-description">
4349-
<p>A visible name or caption for a user interface component.</p>
4350-
<p>An element with role <code>label</code> can provide an <a>accessible name</a> for a user interface component if it is programmatically associated with the element. Authors MAY associate an element with role <code>label</code> with another element by using one of two methods:</p>
4351-
<ul>
4352-
<li>encapsulation: The element with role <code>label</code> contains the element it names.
4353-
<li>reference: The element with role <code>label</code> is referenced by the element it names via the <pref>aria-labelledby</pref> attribute.</li>
4354-
</ul>
4355-
<p>The encapsulation method of naming is supported only if the element being named has one of the following roles:</p>
4356-
<ul>
4357-
<li><pref>checkbox</pref></li>
4358-
<li><pref>listbox</pref></li>
4359-
<li><pref>meter</pref></li>
4360-
<li><pref>radio</pref></li>
4361-
<li><pref>searchbox</pref></li>
4362-
<li><pref>spinbutton</pref></li>
4363-
<li><pref>switch</pref></li>
4364-
<li><pref>textbox</pref></li>
4365-
</ul>
4366-
<p>Authors SHOULD ensure that:</p>
4367-
<ul>
4368-
<li>All elements with role <code>label</code> are associated with one or more other elements.</li>
4369-
<li>When an element with role <code>label</code> is activated by touch or a pointer and its associated element is focusable, focus moves to the associated element. If more than one focusable element is associated with the same label, focus moves to the first element.</li>
4370-
</ul>
4371-
<p class="ednote">Implementation of the <code>label</code> role as described here is currently unlikely. At this time it is anticipated that the <code>label</code> role will not be available in the ARIA 1.3 release</p>
4372-
</div>
4373-
<table class="role-features">
4374-
<caption>Characteristics:</caption>
4375-
<thead>
4376-
<tr>
4377-
<th scope="col">Characteristic</th>
4378-
<th scope="col">Value</th>
4379-
</tr>
4380-
</thead>
4381-
<tbody>
4382-
<tr>
4383-
<th class="role-abstract-head" scope="row">Is Abstract:</th>
4384-
<td class="role-abstract"> </td>
4385-
</tr>
4386-
<tr>
4387-
<th class="role-parent-head" scope="row">Superclass Role:</th>
4388-
<td class="role-parent"><rref>section</rref></td>
4389-
</tr>
4390-
<tr>
4391-
<th class="role-children-head" scope="row">Subclass Roles:</th>
4392-
<td class="role-children"></td>
4393-
</tr>
4394-
<tr>
4395-
<th class="role-base-head" scope="row">Base Concept:</th>
4396-
<td class="role-base"><code>&lt;label&gt;</code> in [[HTML]]</td>
4397-
4398-
</tr>
4399-
<tr>
4400-
<th class="role-related-head" scope="row">Related Concepts:</th>
4401-
<td class="role-related"> </td>
4402-
</tr>
4403-
<tr>
4404-
<th class="role-scope-head" scope="row">Required Context Role:</th>
4405-
<td class="role-scope"><rref></rref></td>
4406-
</tr>
4407-
<tr>
4408-
<th class="role-mustcontain-head" scope="row">Required Owned Elements:</th>
4409-
<td class="role-mustcontain"> </td>
4410-
</tr>
4411-
<tr>
4412-
<th class="role-required-properties-head">Required States and Properties:</th>
4413-
<td class="role-required-properties"> </td>
4414-
</tr>
4415-
<tr>
4416-
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
4417-
<td class="role-properties"></td>
4418-
</tr>
4419-
<tr>
4420-
<th class="role-inherited-head" scope="row">Inherited States and Properties:</th>
4421-
<td class="role-inherited">Placeholder</td>
4422-
</tr>
4423-
<tr>
4424-
<th class="role-namefrom-head" scope="row">Name From:</th>
4425-
<td class="role-namefrom">
4426-
<ul>
4427-
<li>contents</li>
4428-
<li>author</li>
4429-
</ul>
4430-
</td>
4431-
</tr>
4432-
<tr>
4433-
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
4434-
<td class="role-namerequired">True</td>
4435-
</tr>
4436-
<tr>
4437-
<th class="role-namerequired-inherited-head" scope="row">Inherits Name Required:</th>
4438-
<td class="role-namerequired-inherited"> </td>
4439-
</tr>
4440-
<tr>
4441-
<th class="role-childpresentational-head" scope="row">Children Presentational:</th>
4442-
<td class="role-childpresentational"> </td>
4443-
</tr>
4444-
<tr>
4445-
<th class="role-presentational-inherited-head" scope="row">Inherits Presentational:</th>
4446-
<td class="role-presentational-inherited"> </td>
4447-
</tr>
4448-
</tbody>
4449-
</table>
4450-
</div>
44514326
<div class="role" id="landmark">
44524327
<rdef>landmark</rdef>
44534328
<div class="role-description">
@@ -4530,103 +4405,6 @@ <h5>Note regarding the ARIA 1.3 <code>image</code> role.</h5>
45304405
</tbody>
45314406
</table>
45324407
</div>
4533-
<div class="role" id="legend">
4534-
<rdef>legend</rdef>
4535-
<div class="role-description">
4536-
<p>A visible name or caption for a group of related user interface components.</p>
4537-
<p>A element with role <code>legend</code> element can provide an accessible name for elements with grouping roles if it is progammatically associated with the element. Authors MAY associate an element with role <code>legend</code> with an element by using one of two methods:</p>
4538-
<ul>
4539-
<li>legend: The element contains an element with role <code>legend</code> element. If the element contains more than one element with role <code>legend</code>, only the first descendant element with role <code>legend</code> is used for computing the accessible name.</li>
4540-
<li>reference: The element with role <code>legend</code> is referenced by the element it names via the <pref>aria-labelledby</pref> attribute.</li>
4541-
</ul>
4542-
<p>The legend method of naming is supported only if the element being named has one of the following grouping roles:</p>
4543-
<ul>
4544-
<li><pref>group</pref></li>
4545-
<li><pref>radiogroup</pref> </li>
4546-
</ul>
4547-
<p>Authors SHOULD ensure that:</p>
4548-
<ul>
4549-
<li>All elements with role <code>legend</code> are associated with one or more elements with grouping roles.</li>
4550-
<li>When an element with role <code>legend</code> is activated by touch or a pointer, focus moves to the first focusable element in the associated group of user interface components.</li>
4551-
</ul>
4552-
</div>
4553-
<table class="role-features">
4554-
<caption>Characteristics:</caption>
4555-
<thead>
4556-
<tr>
4557-
<th scope="col">Characteristic</th>
4558-
<th scope="col">Value</th>
4559-
</tr>
4560-
</thead>
4561-
<tbody>
4562-
<tr>
4563-
<th class="role-abstract-head" scope="row">Is Abstract:</th>
4564-
<td class="role-abstract"> </td>
4565-
</tr>
4566-
<tr>
4567-
<th class="role-parent-head" scope="row">Superclass Role:</th>
4568-
<td class="role-parent"><rref>section</rref></td>
4569-
</tr>
4570-
<tr>
4571-
<th class="role-children-head" scope="row">Subclass Roles:</th>
4572-
<td class="role-children"></td>
4573-
</tr>
4574-
<tr>
4575-
<th class="role-base-head" scope="row">Base Concept:</th>
4576-
<td class="role-base"><code>&lt;legend&gt;</code> in [[HTML]]</td>
4577-
</tr>
4578-
<tr>
4579-
<th class="role-related-head" scope="row">Related Concepts:</th>
4580-
<td class="role-related"> </td>
4581-
</tr>
4582-
<tr>
4583-
<th class="role-scope-head" scope="row">Required Context Role:</th>
4584-
<td class="role-scope"><rref></rref></td>
4585-
</tr>
4586-
<tr>
4587-
<th class="role-mustcontain-head" scope="row">Required Owned Elements:</th>
4588-
<td class="role-mustcontain"> </td>
4589-
</tr>
4590-
<tr>
4591-
<th class="role-required-properties-head">Required States and Properties:</th>
4592-
<td class="role-required-properties"> </td>
4593-
</tr>
4594-
<tr>
4595-
<th class="role-properties-head" scope="row">Supported States and Properties:</th>
4596-
<td class="role-properties"></td>
4597-
</tr>
4598-
<tr>
4599-
<th class="role-inherited-head" scope="row">Inherited States and Properties:</th>
4600-
<td class="role-inherited">Placeholder</td>
4601-
</tr>
4602-
<tr>
4603-
<th class="role-namefrom-head" scope="row">Name From:</th>
4604-
<td class="role-namefrom">
4605-
<ul>
4606-
<li>contents</li>
4607-
<li>author</li>
4608-
</ul>
4609-
</td>
4610-
</tr>
4611-
<tr>
4612-
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
4613-
<td class="role-namerequired">True</td>
4614-
</tr>
4615-
<tr>
4616-
<th class="role-namerequired-inherited-head" scope="row">Inherits Name Required:</th>
4617-
<td class="role-namerequired-inherited"> </td>
4618-
</tr>
4619-
<tr>
4620-
<th class="role-childpresentational-head" scope="row">Children Presentational:</th>
4621-
<td class="role-childpresentational"> </td>
4622-
</tr>
4623-
<tr>
4624-
<th class="role-presentational-inherited-head" scope="row">Inherits Presentational:</th>
4625-
<td class="role-presentational-inherited"> </td>
4626-
</tr>
4627-
</tbody>
4628-
</table>
4629-
</div>
46304408
<div class="role" id="link">
46314409
<rdef>link</rdef>
46324410
<div class="role-description">
@@ -4888,12 +4666,7 @@ <h5>Note regarding the ARIA 1.3 <code>image</code> role.</h5>
48884666
</tr>
48894667
<tr>
48904668
<th class="role-namefrom-head" scope="row">Name From:</th>
4891-
<td class="role-namefrom">
4892-
<ul>
4893-
<li>encapsulation</li>
4894-
<li>author</li>
4895-
</ul>
4896-
</td>
4669+
<td class="role-namefrom">author</td>
48974670
</tr>
48984671
<tr>
48994672
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -6038,12 +5811,7 @@ <h4>Plain HTML or Polyfill DOM Result of the MathML Quadratic Formula</h4>
60385811
</tr>
60395812
<tr>
60405813
<th class="role-namefrom-head" scope="row">Name From:</th>
6041-
<td class="role-namefrom">
6042-
<ul>
6043-
<li>encapsulation</li>
6044-
<li>author</li>
6045-
</ul>
6046-
</td>
5814+
<td class="role-namefrom">author</td>
60475815
</tr>
60485816
<tr>
60495817
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -6855,7 +6623,6 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
68556623
<td class="role-namefrom">
68566624
<ul>
68576625
<li>contents</li>
6858-
<li>encapsulation</li>
68596626
<li>author</li>
68606627
</ul>
68616628
</td>
@@ -6944,12 +6711,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
69446711
</tr>
69456712
<tr>
69466713
<th class="role-namefrom-head" scope="row">Name From:</th>
6947-
<td class="role-namefrom">
6948-
<ul>
6949-
<li>author</li>
6950-
<li>legend</li>
6951-
</ul>
6952-
</td>
6714+
<td class="role-namefrom">author</td>
69536715
</tr>
69546716
<tr>
69556717
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -7749,12 +7511,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
77497511
</tr>
77507512
<tr>
77517513
<th class="role-namefrom-head" scope="row">Name From:</th>
7752-
<td class="role-namefrom">
7753-
<ul>
7754-
<li>encapsulation</li>
7755-
<li>author</li>
7756-
</ul>
7757-
</td>
7514+
<td class="role-namefrom">author</td>
77587515
</tr>
77597516
<tr>
77607517
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -8290,12 +8047,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
82908047
</tr>
82918048
<tr>
82928049
<th class="role-namefrom-head" scope="row">Name From:</th>
8293-
<td class="role-namefrom">
8294-
<ul>
8295-
<li>encapsulation</li>
8296-
<li>author</li>
8297-
</ul>
8298-
</td>
8050+
<td class="role-namefrom">author</td>
82998051
</tr>
83008052
<tr>
83018053
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -8917,7 +8669,6 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
89178669
<td class="role-namefrom">
89188670
<ul>
89198671
<li>contents</li>
8920-
<li>encapsulation</li>
89218672
<li>author</li>
89228673
</ul>
89238674
</td>
@@ -9599,12 +9350,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
95999350
</tr>
96009351
<tr>
96019352
<th class="role-namefrom-head" scope="row">Name From:</th>
9602-
<td class="role-namefrom">
9603-
<ul>
9604-
<li>encapsulation</li>
9605-
<li>author</li>
9606-
</ul>
9607-
</td>
9353+
<td class="role-namefrom">author</td>
96089354
</tr>
96099355
<tr>
96109356
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>

0 commit comments

Comments
 (0)