From: Mike Risher Date: Thu, 16 Jul 2020 23:12:31 +0000 (+0000) Subject: LP#1887866: add aria-labels to AngularJS grid controls X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=92472381973d269864bfab5f535885590827fd4b LP#1887866: add aria-labels to AngularJS grid controls This is a modified version of a patch originally by Mike Risher to add some aria-label attributes to the AngularJS grid. Signed-off-by: Mike Risher Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 index 1ded8b7..8b16f5e 100644 --- a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 @@ -66,7 +66,8 @@ ng-show="showPagination" ng-class="{disabled : onFirstPage()}" ng-click="offset(0);collect()" - title="[% l('Start') %]"> + title="[% l('Start') %]" + aria-label="[% l('Start') %]"> @@ -75,7 +76,8 @@ ng-show="showPagination" ng-class="{disabled : onFirstPage()}" ng-click="decrementPage()" - title="[% l('Previous Page') %]"> + title="[% l('Previous Page') %]" + aria-label="[% l('Previous Page') %]"> @@ -86,7 +88,8 @@ ng-class="{disabled : !hasNextPage()}" ng-disabled="!hasNextPage()" ng-click="incrementPage()" - title="[% l('Next Page') %]"> + title="[% l('Next Page') %]" + aria-label="[% l('Next Page') %]"> @@ -109,6 +112,7 @@