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

Commit f3194bf

Browse files
edclementsaaronroberson
authored andcommitted
fix(bootstrap): add search role
This is a fix for a severe error found using the Google Accessibility Developer Tool audit: Elements with ARIA roles must ensure required owned elements are present
1 parent e902ffc commit f3194bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/select.tpl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="ui-select-container ui-select-bootstrap dropdown" ng-class="{open: $select.open}">
22
<div class="ui-select-match"></div>
3-
<input type="search" autocomplete="off" tabindex="-1"
3+
<input type="search" role="search" autocomplete="off" tabindex="-1"
44
aria-expanded="true"
55
aria-label="{{ $select.baseTitle }}"
66
aria-owns="ui-select-choices-{{ $select.generatedId }}"

0 commit comments

Comments
 (0)