-
Notifications
You must be signed in to change notification settings - Fork 843
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
[A11y] Added aria-label
to the flyout testenv file
#5702
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_5702/ |
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.
LGTM; Thanks, @yuliacech!
Just the changelog update to remove No public interface changes since 51.0.0.
CHANGELOG.md
Outdated
- Updated `testenv` mock for `EuiFlyout` to include default `aria-label` on the close button ([#5702](https://github.com/elastic/eui/pull/5702)) | ||
|
||
No public interface changes since `51.0.0`. |
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.
- Updated `testenv` mock for `EuiFlyout` to include default `aria-label` on the close button ([#5702](https://github.com/elastic/eui/pull/5702)) | |
No public interface changes since `51.0.0`. | |
- Updated `testenv` mock for `EuiFlyout` to include default `aria-label` on the close button ([#5702](https://github.com/elastic/eui/pull/5702)) |
Thank you for the review, @thompsongl! I removed the "no changes" line from the changelog. Waiting on the CI to get green before merging. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5702/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_5702/ |
Summary
This PR only changes
testenv
file of EuiFlyout that produces a mocked version of EuiFlyout. The current mock doesn't have anaria-label
on the close flyout button and causes "critical" a11y violations when an jest-axe test is run against any consuming components in Kibana (see elastic/kibana#127185).Checklist
I don't think any of the items in the checklist are applicable because this PR only touches the mock file.
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked in Chrome, Safari, Edge, and Firefox- [ ] Props have proper autodocs and playground toggles- [ ] Added documentation- [ ] Checked Code Sandbox works for any docs examples- [ ] Added or updated jest and cypress tests- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes