Skip to content

Commit 78a1e3d

Browse files
svinkletvararu
authored andcommitted
Fixed label association
1 parent e37f93e commit 78a1e3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h1>Accessible Autocomplete form example</h1>
6969
<form action="form.html" method="get">
7070
<label for="last-location">What was the last location you visited?</label>
7171
<div class="autocomplete-wrapper">
72-
<select name="last-location" id="last-country">
72+
<select name="last-location" id="last-location">
7373
<option value="territory:AE-AZ">Abu Dhabi</option>
7474
<option value="country:AF">Afghanistan</option>
7575
<option value="territory:AE-AJ">Ajman</option>
@@ -353,7 +353,7 @@ <h1>Accessible Autocomplete form example</h1>
353353

354354
<label for="passport-location">What is the location on your passport?</label>
355355
<div class="autocomplete-wrapper">
356-
<select name="passport-location" id="passport-country">
356+
<select name="passport-location" id="passport-location">
357357
<option value="territory:AE-AZ">Abu Dhabi</option>
358358
<option value="country:AF">Afghanistan</option>
359359
<option value="territory:AE-AJ">Ajman</option>

0 commit comments

Comments
 (0)