Skip to content

Commit f9ee5d5

Browse files
Update role-required-states-and-properties-4e8ab6.md (#2263)
1 parent 8cf9deb commit f9ee5d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_rules/role-required-states-and-properties-4e8ab6.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ This `separator` is not a `widget` because it is not [focusable][]. The `separat
119119
This `combobox` has the required properties `aria-controls` and `aria-expanded`.
120120

121121
```html
122-
<label for="tag_combo">Tag</label>
123-
<input type="text" id="tag_combo" role="combobox" aria-expanded="true" aria-controls="popup_listbox" />
124-
<ul role="listbox" id="popup_listbox">
122+
<label for="tag_combo" id="tag_label">Tag</label>
123+
<input type="text" id="tag_combo" role="combobox" aria-expanded="true" aria-controls="popup_listbox"/>
124+
<ul role="listbox" id="popup_listbox" aria-labelledby="tag_label">
125125
<li role="option">Zebra</li>
126126
<li role="option" id="selected_option">Zoom</li>
127127
</ul>

0 commit comments

Comments
 (0)