forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11532] Improve local nav accessibility (elastic#14365)
* Use h2 elements for titles in Sharing dropdown. * Override inherited typographic styles in kuiLocalDropdownTitle. * Use h2 elements for titles in Console dropdowns. * Update kuiLocalDropdownHeader__label class to be applicable to legend elements. * Update Console settings menu with aria labeling and UI Framework styles. * Remove unused config-close styles. * Update Dashboard local nav dropdowns with form labels and h2 elements. * Add support for dark theme to kuiCheckBox. * Update Dashboard local nav dropdowns and saved-object-save-as-check-box directive with kuiCheckBoxLabel styles. * Update Discover local nav with h2 elements. * Update Visualize local nav with h2 element. * Add aria-label to unlabeled inputs in Discover, Visualuze, and Timelion inputs. * Update Timelion local nav with h2 elements. * Update timepicker with tab roles, h2 elements, and UI Framework styles. * Improve labeling and add aria-selected to timepicker tabs. - Refactor timepicker tabs to adhere to tablist structure correctly. * Add tablist role.
- Loading branch information
Showing
29 changed files
with
320 additions
and
151 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
114 changes: 69 additions & 45 deletions
114
src/core_plugins/console/public/src/directives/settings.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
14 changes: 10 additions & 4 deletions
14
src/core_plugins/kibana/public/dashboard/top_nav/options.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,15 +1,21 @@ | ||
<form role="form"> | ||
<div class="kuiLocalDropdownTitle">Options</div> | ||
<h2 class="kuiLocalDropdownTitle"> | ||
Options | ||
</h2> | ||
|
||
<div class="input-group"> | ||
<label> | ||
<div class="kuiLocalDropdownSection"> | ||
<label class="kuiCheckBoxLabel"> | ||
<input | ||
class="kuiCheckBox" | ||
type="checkbox" | ||
ng-model="model.darkTheme" | ||
ng-checked="model.darkTheme" | ||
data-test-subj="dashboardDarkThemeCheckbox" | ||
> | ||
Use dark theme | ||
|
||
<span class="kuiCheckBoxLabel__text"> | ||
Use dark theme | ||
</span> | ||
</label> | ||
</div> | ||
</form> |
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
5 changes: 4 additions & 1 deletion
5
src/core_plugins/kibana/public/discover/partials/load_search.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,4 +1,7 @@ | ||
<form role="form" ng-submit="fetch()"> | ||
<div class="kuiLocalDropdownTitle">Open Search</div> | ||
<h2 class="kuiLocalDropdownTitle"> | ||
Open Search | ||
</h2> | ||
|
||
<saved-object-finder type="searches"></saved-object-finder> | ||
</form> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
<form role="form" ng-submit="fetch()"> | ||
<div class="kuiLocalDropdownTitle">Open Sheet</div> | ||
<saved-object-finder type="timelion-sheet" use-local-management="true"></saved-object-finder> | ||
<h2 class="kuiLocalDropdownTitle"> | ||
Open Sheet | ||
</h2> | ||
|
||
<saved-object-finder | ||
type="timelion-sheet" | ||
use-local-management="true" | ||
></saved-object-finder> | ||
</form> |
Oops, something went wrong.