Merge "Add aria-label for checkbox"

This commit is contained in:
Jenkins 2015-07-06 21:48:30 +00:00 committed by Gerrit Code Review
commit 2f54e8a1e4

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>