-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Management] Improve accessibility within management #13364
Merged
chrisronline
merged 16 commits into
elastic:master
from
chrisronline:management/accessibility
Aug 10, 2017
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7430a3d
Use header/h tag for tab header, #12861
chrisronline e7f6e36
Add tabindexes for tables, #12862
chrisronline 14b8e23
Add for/id pairings, #12863
chrisronline 43a664b
Search role, #12868
chrisronline e99955d
Use better descriptions for aria labels, #12865
chrisronline 21ea3ac
Add aria label, #12870
chrisronline 1fe2f2d
Button and a tags are already in tab order, removing unnecessary change
chrisronline ad0575f
The input field cannot contain the role="search"
chrisronline 0bf778a
The tabindex needs to be on the element which the click handler
chrisronline 04f9f7f
Remove tabindex and remove the class applying the hover styles - hone…
chrisronline dbc6e38
Revert "Remove tabindex and remove the class applying the hover style…
chrisronline 124c3af
Remove the extra code my cat added
chrisronline d031b93
Addressing hidden inputs from #12863
chrisronline fa8d64c
Remove unnecessary header tag
chrisronline ca0cccd
Add clarifying comment
chrisronline f6f82ab
Prevent multiple ids
chrisronline File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
17 changes: 13 additions & 4 deletions
17
src/ui/public/field_format_editor/editors/duration/duration.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
8 changes: 6 additions & 2 deletions
8
src/ui/public/field_format_editor/editors/truncate/truncate.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,6 +1,10 @@ | ||
<div class="form-group"> | ||
<label>Field Length</label> | ||
<input ng-model="editor.formatParams.fieldLength" class="form-control"> | ||
<label for="scriptFieldTruncateLength">Field Length</label> | ||
<input | ||
id="scriptFieldTruncateLength" | ||
ng-model="editor.formatParams.fieldLength" | ||
class="form-control" | ||
> | ||
</div> | ||
|
||
<field-format-editor-samples inputs="cntrl.sampleInputs"></field-format-editor-samples> |
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,11 +1,14 @@ | ||
<div class="form-group"> | ||
<input | ||
<div> | ||
<div class="form-group"> | ||
<input | ||
id="{{ id }}" | ||
ng-model="model" | ||
placeholder="{{ placeholder }}" | ||
class="form-control"> | ||
</div> | ||
|
||
<field-format-editor-samples | ||
ng-model="model" | ||
placeholder="{{ placeholder }}" | ||
class="form-control"> | ||
inputs="inputs"> | ||
</field-format-editor-samples> | ||
</div> | ||
|
||
<field-format-editor-samples | ||
ng-model="model" | ||
inputs="inputs"> | ||
</field-format-editor-samples> |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! @snide do you think you could fix the focus styles for these elements?