diff --git a/src/ui/public/angular-bootstrap/datepicker/datepicker.js b/src/ui/public/angular-bootstrap/datepicker/datepicker.js index 05784947d0505..6a75a99788c1d 100755 --- a/src/ui/public/angular-bootstrap/datepicker/datepicker.js +++ b/src/ui/public/angular-bootstrap/datepicker/datepicker.js @@ -388,6 +388,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst scope.title = [years[0].label, years[range - 1].label].join(' - '); scope.rows = ctrl.split(years, 5); + scope.yearRange = ctrl.yearRange; }; ctrl.compare = function(date1, date2) { diff --git a/src/ui/public/angular-bootstrap/datepicker/day.html b/src/ui/public/angular-bootstrap/datepicker/day.html index 4912427ea0b70..026fb49551d93 100755 --- a/src/ui/public/angular-bootstrap/datepicker/day.html +++ b/src/ui/public/angular-bootstrap/datepicker/day.html @@ -15,6 +15,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(-1)" + aria-label="Previous month" > @@ -35,6 +36,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(1)" + aria-label="Next month" > @@ -61,7 +63,6 @@ ng-repeat="dt in row track by dt.date" class="kuiDatePickerRowCell" ng-class="{'kuiDatePickerRowCell-isBlocked': dt.disabled && !dt.secondary}" - role="gridcell" id="{{dt.uid}}" aria-disabled="{{!!dt.disabled}}" > diff --git a/src/ui/public/angular-bootstrap/datepicker/month.html b/src/ui/public/angular-bootstrap/datepicker/month.html index 5dbc689701673..8907215e6e8d2 100755 --- a/src/ui/public/angular-bootstrap/datepicker/month.html +++ b/src/ui/public/angular-bootstrap/datepicker/month.html @@ -15,6 +15,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(-1)" + aria-label="Previous year" > @@ -35,6 +36,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(1)" + aria-label="Next year" > @@ -48,7 +50,6 @@ ng-repeat="dt in row track by dt.date" class="kuiDatePickerRowCell" ng-class="{'kuiDatePickerRowCell-isBlocked': dt.disabled && !dt.secondary}" - role="gridcell" id="{{dt.uid}}" aria-disabled="{{!!dt.disabled}}" > diff --git a/src/ui/public/angular-bootstrap/datepicker/year.html b/src/ui/public/angular-bootstrap/datepicker/year.html index c7903cbbaa8f9..7c1ad3be43253 100755 --- a/src/ui/public/angular-bootstrap/datepicker/year.html +++ b/src/ui/public/angular-bootstrap/datepicker/year.html @@ -15,6 +15,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(-1)" + aria-label="Previous {{yearRange}} years" > @@ -35,6 +36,7 @@ type="button" class="kuiDatePickerNavigationButton" ng-click="move(1)" + aria-label="Next {{yearRange}} years" > @@ -48,7 +50,6 @@ ng-repeat="dt in row track by dt.date" class="kuiDatePickerRowCell" ng-class="{'kuiDatePickerRowCell-isBlocked': dt.disabled && !dt.secondary}" - role="gridcell" id="{{dt.uid}}" aria-disabled="{{!!dt.disabled}}" > diff --git a/src/ui/public/kbn_top_nav/kbn_top_nav.html b/src/ui/public/kbn_top_nav/kbn_top_nav.html index bda5662a9495d..56ed39e3aaec9 100644 --- a/src/ui/public/kbn_top_nav/kbn_top_nav.html +++ b/src/ui/public/kbn_top_nav/kbn_top_nav.html @@ -41,7 +41,7 @@ class="kuiLocalDropdown" ng-show="kbnTopNav.rendered" > -