Skip to content

Allow setting basic aria attributes on EuiCodeEditor#1354

Merged
timroes merged 3 commits intoelastic:masterfrom
timroes:allow-aria-on-ace
Dec 10, 2018
Merged

Allow setting basic aria attributes on EuiCodeEditor#1354
timroes merged 3 commits intoelastic:masterfrom
timroes:allow-aria-on-ace

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 timroes requested a review from chandlerprall December 7, 2018 11:10
@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