Skip to content

Commit f08e268

Browse files
committed
Auto merge of #3774 - notriddle:patch-1, r=flip1995
Use normal HTML label semantics for filter The improvement is that you can click on the label and it'll select the form field.
2 parents 32ee306 + 67f5066 commit f08e268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/gh-pages/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ <h1>ALL the Clippy Lints</h1>
7676
<div class="panel-body row">
7777
<div class="col-md-12 form-horizontal">
7878
<div class="input-group">
79-
<span class="input-group-addon" id="filter-label">Filter:</span>
80-
<input type="text" class="form-control" placeholder="Keywords or search string" aria-describedby="filter-label" ng-model="search" />
79+
<label class="input-group-addon" id="filter-label" for="filter-input">Filter:</label>
80+
<input type="text" class="form-control" placeholder="Keywords or search string" id="filter-input" ng-model="search" />
8181
<span class="input-group-btn">
8282
<button class="btn btn-default" type="button" ng-click="search = ''">
8383
Clear

0 commit comments

Comments
 (0)