Skip to content
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

Fixing console a11y failures #57520

Merged
merged 7 commits into from
Feb 18, 2020

Conversation

myasonik
Copy link
Contributor

Summary

Though the workaround present before satisfied axe, it both didn't fix the original a11y problem and in some ways made the issue worse by setting the textarea label to be the entirety of the inner contents of the div (namely, the "press enter to edit and esc to exit" string).

This fixes the underlying a11y issue which unblocks axe and fixes the regression.

Supersedes: #52968
Original issue: #52136

Side note: my editor rearranged the order of imports. Hope that's all right but can revert if people don't like it.

Checklist

For maintainers

@myasonik myasonik added Feature:Console Dev Tools Console Feature Project:Accessibility WCAG A v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.7.0 labels Feb 12, 2020
@myasonik myasonik requested a review from cjcenizal February 12, 2020 23:38
@myasonik myasonik requested a review from a team as a code owner February 12, 2020 23:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@alisonelizabeth alisonelizabeth requested review from alisonelizabeth and removed request for cjcenizal February 13, 2020 15:28
Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@myasonik thanks for fixing this! I had a question about a dependency that was added, but otherwise changes LGTM.

@myasonik myasonik force-pushed the fix/console-editor-labels branch from ac96099 to 32e2bba Compare February 13, 2020 22:24
Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed a class 👍

@cuff-links
Copy link
Contributor

I took a look at this as well.Looks pretty good. I noticed that the test failures are for unrelated tests. Perhaps merging upstream will fix that.

@cuff-links
Copy link
Contributor

There's also a i18n check that is looking for some labels.

@myasonik
Copy link
Contributor Author

retest

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@myasonik myasonik merged commit 0160aa4 into elastic:master Feb 18, 2020
@myasonik myasonik deleted the fix/console-editor-labels branch February 18, 2020 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Console Dev Tools Console Feature Project:Accessibility release_note:fix Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v7.7.0 v8.0.0 WCAG A
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants