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

Color Auto button inside Chart style should read "Color: Auto" #32558

Closed
wants to merge 1 commit into from

Conversation

PhilippBaranovskiy
Copy link
Contributor

Fix: #25508

Summary

Added aria-label attribute for Color: Auto.
Since the original code is without internationalization, I left it so as well.

@PhilippBaranovskiy PhilippBaranovskiy self-assigned this Mar 6, 2019
@PhilippBaranovskiy PhilippBaranovskiy requested review from a team as code owners March 6, 2019 14:48
@alexwizp alexwizp changed the title 25508 Color Auto button inside Chart style should read "Color: Auto" Mar 6, 2019
@@ -36,7 +36,7 @@ export const SimpleTemplate = props => {
<span>Color&nbsp;</span>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiLink onClick={() => handlePlain('color', '#000000')}>
<EuiLink aria-label="Color: Auto" onClick={() => handlePlain('color', '#000000')}>
Copy link
Contributor

@alexwizp alexwizp Mar 6, 2019

Choose a reason for hiding this comment

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

Color: Auto should be localized
See example:
aria-label={intl.formatMessage({ id: 'tsvb.percentile.percentileAriaLabel', defaultMessage: 'Percentile' })}

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@peteharverson peteharverson requested review from peteharverson and removed request for jgowdyelastic and peteharverson March 6, 2019 16:24
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.

3 participants