-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve accessibility of the visualize editor (#13780)
* Use aria-expanded and better labels for agg collapsables * Fix all agg options collapsables, fix #12892 * Label all vis editor inputs correctly, fix #11859 * Fix broken functional test
- Loading branch information
Showing
27 changed files
with
140 additions
and
47 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
<div ng-if="aggParam.shouldShow(agg)"> | ||
<div> | ||
<label>Extended Bounds</label> | ||
<label id="extendedBoundsLabel{{agg.id}}">Extended Bounds</label> | ||
<kbn-info info="Min and Max do not filter the results, but rather extend the bounds of the result set."></kbn-info> | ||
</div> | ||
<div class="vis-editor-agg-form-row"> | ||
<div class="form-group"> | ||
<div>Min <small>(optional)</small></div> | ||
<label | ||
id="extendedBoundsMinLabel{{agg.id}}" | ||
for="extendedBoundsMinInput{{agg.id}}" | ||
> | ||
Min <small>(optional)</small> | ||
</label> | ||
<input | ||
id="extendedBoundsMinInput{{agg.id}}" | ||
aria-labelledby="extendedBoundsLabel{{agg.id}} extendedBoundsMinLabel{{agg.id}}" | ||
ng-model="agg.params.extended_bounds.min" | ||
type="number" | ||
class="form-control" | ||
name="extended_bounds.min" /> | ||
</div> | ||
<div class="form-group"> | ||
<div>Max <small>(optional)</small></div> | ||
<label | ||
id="extendedBoundsMaxLabel{{agg.id}}" | ||
for="extendedBoundsMaxInput{{agg.id}}" | ||
> | ||
Max <small>(optional)</small> | ||
</label> | ||
<input | ||
id="extendedBoundsMaxInput{{agg.id}}" | ||
aria-labelledby="extendedBoundsLabel{{agg.id}} extendedBoundsMaxLabel{{agg.id}}" | ||
ng-model="agg.params.extended_bounds.max" | ||
type="number" | ||
class="form-control" | ||
name="extended_bounds.max" /> | ||
</div> | ||
</div> | ||
</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
Oops, something went wrong.