Use normal HTML label semantics for filter

I legitimately don't understand why you did it with ARIA instead.
This commit is contained in:
Michael Howell 2019-02-16 13:16:50 -07:00 committed by GitHub
parent 32ee306acb
commit 67f50661eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,8 +76,8 @@
<div class="panel-body row">
<div class="col-md-12 form-horizontal">
<div class="input-group">
<span class="input-group-addon" id="filter-label">Filter:</span>
<input type="text" class="form-control" placeholder="Keywords or search string" aria-describedby="filter-label" ng-model="search" />
<label class="input-group-addon" id="filter-label" for="filter-input">Filter:</label>
<input type="text" class="form-control" placeholder="Keywords or search string" id="filter-input" ng-model="search" />
<span class="input-group-btn">
<button class="btn btn-default" type="button" ng-click="search = ''">
Clear