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

Allow setting basic aria attributes on EuiCodeEditor #1354

Merged
merged 3 commits into from
Dec 10, 2018

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Dec 7, 2018

Summary

This PR adds support for aria-label, aria-labelledby and aria-describedby to the EuiCodeEditor component. This is required to fix things like elastic/kibana#22973.

Checklist

  • [ ] This was checked in mobile
  • [ ] This was checked in IE11
  • [ ] This was checked in dark mode
  • Any props added have proper autodocs
  • Documentation examples were added
  • A changelog entry exists and is marked appropriately
  • [ ] This was checked for breaking changes and labeled appropriately
  • Jest tests were updated or added to match the most common scenarios
  • This was checked against keyboard-only and screenreader scenarios
  • [ ] This required updates to Framer X components

@timroes
Copy link
Contributor Author

timroes commented Dec 7, 2018

@chandlerprall could you clarify if I need to do anything for that "autodocs" todo? The ARIA attributes are in the default attributes, and not explicitly stated in any component right now?

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

LGTM; pulled & tested locally

@chandlerprall
Copy link
Contributor

@timroes no need for the autodocs, those props are assumed present

@timroes timroes merged commit 5f87515 into elastic:master Dec 10, 2018
@timroes timroes deleted the allow-aria-on-ace branch December 10, 2018 15:16
@snide snide mentioned this pull request Dec 11, 2018
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants