We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66404b7 commit fe5970fCopy full SHA for fe5970f
1 file changed
_rules/aria-required-id-references-in6db8.md
@@ -78,7 +78,7 @@ The `aria-controls` [attribute value][] of this `scrollbar` matches the `id` of
78
The `aria-controls` [attribute value][] of this expanded `combobox` matches the `id` of the `ul` element in the same document.
79
80
```html
81
-<label for="tag_combo">Tag</label>
+<label for="tag_combo" id="tag_label">Tag</label>
82
<input
83
type="text"
84
id="tag_combo"
@@ -87,7 +87,7 @@ The `aria-controls` [attribute value][] of this expanded `combobox` matches the
87
aria-controls="popup_listbox"
88
aria-activedescendant="selected_option"
89
/>
90
-<ul role="listbox" id="popup_listbox">
+<ul role="listbox" id="popup_listbox" aria-labelledby="tag_label">
91
<li role="option">Zebra</li>
92
<li role="option" id="selected_option">Zoom</li>
93
</ul>
0 commit comments