Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ariaPublic

Commit48ad8d4

Browse files
authored
Add a conditional on when aria-controls is needed (#1335)
* Add a conditional on when aria-controls is needed* move aria-controls from required to supported
1 parent257b0e1 commit48ad8d4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎index.html‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,7 @@ <h2>Definition of Roles</h2>
21132113
</p>
21142114
<p>
21152115
Authors MUST ensure the popup element associated with a <code>combobox</code> has a role of <rref>listbox</rref>, <rref>tree</rref>, <rref>grid</rref>, or <rref>dialog</rref>.
2116-
Authors MUST set <pref>aria-controls</pref> on a <code>combobox</code> element to a value that refers to the <code>combobox</code> popup element.
2116+
When the popup is displayed, authors MUST set <pref>aria-controls</pref> on a <code>combobox</code> element to a value that refers to the <code>combobox</code> popup element.
21172117
</p>
21182118
<p>
21192119
Elements with the role <code>combobox</code> have an implicit <pref>aria-haspopup</pref> value of <code>listbox</code>.
@@ -2200,10 +2200,7 @@ <h2>Definition of Roles</h2>
22002200
<tr>
22012201
<th class="role-required-properties-head">Required States and Properties:</th>
22022202
<td class="role-required-properties">
2203-
<ul>
2204-
<li><pref>aria-controls</pref></li>
2205-
<li><sref>aria-expanded</sref></li>
2206-
</ul>
2203+
<sref>aria-expanded</sref>
22072204
</td>
22082205
</tr>
22092206
<tr>
@@ -2212,6 +2209,7 @@ <h2>Definition of Roles</h2>
22122209
<ul>
22132210
<li><pref>aria-activedescendant</pref></li>
22142211
<li><pref>aria-autocomplete</pref></li>
2212+
<li><pref>aria-controls</pref></li>
22152213
<li><pref>aria-errormessage</pref></li>
22162214
<li><pref>aria-haspopup</pref></li>
22172215
<li><sref>aria-invalid</sref></li>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp