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

Commit 6766754

Browse files
david-kirklanduser378230
authored andcommitted
fix(bootstrap): add aria-expanded to the multiple select
Resolves an ADA violation. Closes #1775
1 parent c64dd3a commit 6766754

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: src/bootstrap/select-multiple.tpl.html

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22
<div>
33
<div class="ui-select-match"></div>
44
<input type="search"
5-
autocomplete="off"
6-
autocorrect="off"
7-
autocapitalize="off"
5+
autocomplete="off"
6+
autocorrect="off"
7+
autocapitalize="off"
88
spellcheck="false"
99
class="ui-select-search input-xs"
1010
placeholder="{{$selectMultiple.getPlaceholder()}}"
1111
ng-disabled="$select.disabled"
1212
ng-click="$select.activate()"
1313
ng-model="$select.search"
1414
role="combobox"
15-
aria-label="{{ $select.baseTitle }}"
15+
aria-expanded="{{$select.open}}"
16+
aria-label="{{$select.baseTitle}}"
1617
ondrop="return false;">
1718
</div>
1819
<div class="ui-select-choices"></div>

0 commit comments

Comments
 (0)