Skip to content

Commit

Permalink
Add accesskeys P for previous period and N for next period
Browse files Browse the repository at this point in the history
  • Loading branch information
jaller94 committed Oct 20, 2018
1 parent a9a9141 commit 55f69f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/part.datepicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
*/
?>
<div class="datepicker-heading">
<button type="button" class="button first" ng-click="prev()" aria-label="<?php p($l->t('Go back')) ?>">
<button type="button" class="button first" accesskey="P" ng-click="prev()" aria-label="<?php p($l->t('Go back')) ?>">
<i class="glyphicon glyphicon-chevron-left"></i>
</button>
<button ng-cloak type="button" class="button middle" ng-click="toggle()">
{{ dt | datepickerFilter:selectedView }}
</button>
<button type="button" class="button last" ng-click="next()" aria-label="<?php p($l->t('Go forward')) ?>">
<button type="button" class="button last" accesskey="N" ng-click="next()" aria-label="<?php p($l->t('Go forward')) ?>">
<i class="glyphicon glyphicon-chevron-right"></i>
</button>
</div>
Expand Down

0 comments on commit 55f69f8

Please sign in to comment.