Skip to content

Commit d0e22a5

Browse files
committed
backing out the region and form role changes based circumstances outlined in the PR comment thread
1 parent 17750f7 commit d0e22a5

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

index.html

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,8 +4281,9 @@ <h2>Definition of Roles</h2>
42814281
possible. If the purpose of a form is to submit search criteria, authors SHOULD use the <rref>search</rref> role instead of the generic <code>form</code> role.
42824282
</p>
42834283
<p>
4284-
Authors SHOULD give each element with role <code>form</code> a label that describes the purpose of the form, using either <a href="#namecalculation">namefrom</a>: author or
4285-
<a href="#namecalculation">namefrom</a>: heading.
4284+
Authors SHOULD give each element with role <code>form</code> a brief label that describes the purpose of the form. Authors SHOULD reference a visible label with
4285+
<pref>aria-labelledby</pref> if a visible label is present. Authors SHOULD include the label inside of a heading whenever possible. The heading MAY be an instance of the standard host
4286+
language heading element or an instance of an element with role <rref>heading</rref>.
42864287
</p>
42874288
<p>
42884289
If an author uses a script to submit a form based on a user action that would otherwise not trigger an <code>onsubmit</code> event (for example, a form submission triggered by the user
@@ -4346,12 +4347,7 @@ <h2>Definition of Roles</h2>
43464347
</tr>
43474348
<tr>
43484349
<th class="role-namefrom-head" scope="row">Name From:</th>
4349-
<td class="role-namefrom">
4350-
<ul>
4351-
<li>author</li>
4352-
<li>heading</li>
4353-
</ul>
4354-
</td>
4350+
<td class="role-namefrom">author</td>
43554351
</tr>
43564352
<tr>
43574353
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>
@@ -8015,7 +8011,9 @@ <h5>Presentational Role Inheritance</h5>
80158011
<a href="#landmark_roles">landmark roles</a>, such as <rref>main</rref>, <rref>complementary</rref>, or <rref>navigation</rref>.
80168012
</p>
80178013
<p>
8018-
Authors MUST give each element with role region a label that describes the purpose of the content in the region, using either <a href="#namecalculation">namefrom</a>: author or <a href="#namecalculation">namefrom</a>: heading.
8014+
Authors MUST give each element with role region a brief label that describes the purpose of the content in the region. Authors SHOULD reference a visible label with
8015+
<pref>aria-labelledby</pref> if a visible label is present. Authors SHOULD include the label inside of a heading whenever possible. The heading MAY be an instance of the standard host
8016+
language heading element or an instance of an element with role <rref>heading</rref>.
80198017
</p>
80208018
<p>
80218019
<a>Assistive technologies</a> SHOULD enable users to quickly navigate to elements with role <code>region</code>. [=User agents=] SHOULD treat elements with role <code>region</code> and
@@ -8075,12 +8073,7 @@ <h5>Presentational Role Inheritance</h5>
80758073
</tr>
80768074
<tr>
80778075
<th class="role-namefrom-head" scope="row">Name From:</th>
8078-
<td class="role-namefrom">
8079-
<ul>
8080-
<li>author</li>
8081-
<li>heading</li>
8082-
</ul>
8083-
</td>
8076+
<td class="role-namefrom">author</td>
80848077
</tr>
80858078
<tr>
80868079
<th class="role-namerequired-head" scope="row">Accessible Name Required:</th>

0 commit comments

Comments
 (0)