Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
fix(bootstrap): add aria-expanded to the multiple select
Browse files Browse the repository at this point in the history
Resolves an ADA violation.

Closes #1775
  • Loading branch information
david-kirkland authored and user378230 committed Aug 22, 2016
1 parent c64dd3a commit 6766754
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/bootstrap/select-multiple.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
<div>
<div class="ui-select-match"></div>
<input type="search"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
class="ui-select-search input-xs"
placeholder="{{$selectMultiple.getPlaceholder()}}"
ng-disabled="$select.disabled"
ng-click="$select.activate()"
ng-model="$select.search"
role="combobox"
aria-label="{{ $select.baseTitle }}"
aria-expanded="{{$select.open}}"
aria-label="{{$select.baseTitle}}"
ondrop="return false;">
</div>
<div class="ui-select-choices"></div>
Expand Down

0 comments on commit 6766754

Please sign in to comment.