Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve timelion accessibility (#13531)
* Fix broken refresh shortcut for non OS X On non OS X systems, the e.metaKey is most likely the windows key. Hotkeys with the windows key are usually used as global (non application internal) hotkeys. Also the documentation states, that Ctrl + Enter should also work. With this commit it doesn't matter whether you press the Meta or the Ctrl key + Enter. * Make timelion datepicker more accessible * Add meaningful labels to each interval shortcut, and * Add a proper label to the custom input text field * Make save options keyboard accessible, fix #12246, fix #12487 * Make sort button of saved-object-finder accessible, fix #12486 * Label timelion options correctly, fix #12907 * Make timelion legends keyboard accessible, fix #11844 * Make timelion autocompletion properly accessible Fixes #11533, fixes #11525, fixes #12908 * Make timelion charts and actions accessible, fix #12909 * Add some more inline comments * Fix HTML styles according to styleguide * Replace sr-only by kuiScreenReaderOnly * Make timelion autocompletion work with ARIA 1.1
- Loading branch information
Showing
13 changed files
with
130 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
src/core_plugins/timelion/public/directives/fullscreen/fullscreen.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<div class="chart-container col-md-12 col-sm-12 col-xs-12" timelion-grid timelion-grid-rows="1"> | ||
<div chart="series" search="onSearch" interval="state.interval"></div> | ||
<div class="cell-actions"> | ||
<div class="cell-fullscreen" ng-click="transient.fullscreen = false" tooltip="Exit full screen" tooltip-append-to-body="1"> | ||
<button | ||
class="cell-fullscreen cell-action" | ||
ng-click="transient.fullscreen = false" | ||
tooltip="Exit full screen" | ||
tooltip-append-to-body="1" | ||
aria-label="Exit full screen" | ||
> | ||
<span class="fa fa-compress"></span> | ||
</div> | ||
</button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
...on/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters