Add aria-label for checkbox

Change-Id: I749a1630b1d68c58e5bd28a5bd2d6b2eebfb2314
This commit is contained in:
Vincent Fournier 2015-07-06 17:12:56 -04:00
parent a8f5dc491a
commit 71bdf4fbf1

View File

@ -2,7 +2,7 @@
<thead class="moving-thead"> <thead class="moving-thead">
<tr> <tr>
<th class="data-table__checkbox"> <th class="data-table__checkbox">
<md-checkbox ng-model="isCheckAll" ng-change="onCheckChange()"></md-checkbox> <md-checkbox aria-label='Check all' ng-model="isCheckAll" ng-change="onCheckChange()"></md-checkbox>
</th> </th>
<th ng-repeat="i in cellIndexes" class="data-table__{{cellsName[i]}}"> <th ng-repeat="i in cellIndexes" class="data-table__{{cellsName[i]}}">
{{cellsText[i]}} {{cellsText[i]}}
@ -15,7 +15,7 @@
<thead class="static-thead"> <thead class="static-thead">
<tr> <tr>
<th class="data-table__checkbox"> <th class="data-table__checkbox">
<md-checkbox ng-model="isCheckAll" ng-change="onCheckChange()"></md-checkbox> <md-checkbox aria-label='Check all' ng-model="isCheckAll" ng-change="onCheckChange()"></md-checkbox>
</th> </th>
<th ng-repeat="i in cellIndexes" class="data-table__{{cellsName[i]}}"> <th ng-repeat="i in cellIndexes" class="data-table__{{cellsName[i]}}">
{{cellsText[i]}} {{cellsText[i]}}
@ -27,7 +27,7 @@
<tbody class="{{entry.child_class}}" ng-repeat="(groupByKey, groupByItems) in entries | groupBy:'host_name'"> <tbody class="{{entry.child_class}}" ng-repeat="(groupByKey, groupByItems) in entries | groupBy:'host_name'">
<tr ng-repeat="entry in groupByItems | actionbarSelectFilter:actionbarFilters.activeFilter | filter:actionbarFilters.searchFilter | noRepeat:this | wrappableStyle:this"> <tr ng-repeat="entry in groupByItems | actionbarSelectFilter:actionbarFilters.activeFilter | filter:actionbarFilters.searchFilter | noRepeat:this | wrappableStyle:this">
<td> <td>
<md-checkbox ng-model="entry.is_checked"></md-checkbox> <md-checkbox aria-label='Check' ng-model="entry.is_checked"></md-checkbox>
</td> </td>
<td bansho-cell cell-name="{{cell}}" ng-repeat="cell in cellsName"></td> <td bansho-cell cell-name="{{cell}}" ng-repeat="cell in cellsName"></td>
</tr> </tr>