open-nomad/ui/app/templates/components/search-box.hbs
Buck Doyle 7bed453de3
Add acceptance test accessibility auditing and fixes (#8455)
This introduces ember-a11y-testing to acceptance tests via a helper
wrapper that allows us to globally ignore rules that we can address
separately. It also adds fixes for the aXe rules that were failing.
2020-07-28 12:59:14 -05:00

13 lines
425 B
Handlebars

<div class="control">
<span class="prefix-icon">{{x-icon "search"}}</span>
<input
class="input {{this.inputClass}}"
type="text"
placeholder={{this.placeholder}}
aria-label={{this.placeholder}}
value={{this._searchTerm}}
oninput={{action "setSearchTerm"}}
size="1">
<button class="suffix-icon" onclick={{action "clear"}} type="button" title="Clear search">{{x-icon "cancel"}}</button>
</div>