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

Improve vis type selection accessibility #29498

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

timroes
Copy link
Contributor

@timroes timroes commented Jan 29, 2019

Summary

Improves accessibility of vis type in two points:

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@timroes timroes added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Project:Accessibility v7.0.0 Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.7.0 labels Jan 29, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@@ -104,6 +104,19 @@ describe('NewVisModal', () => {
});
});

describe('filter for visualization types', () => {
it('should render as expected', () => {

Choose a reason for hiding this comment

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

Perhaps could we update the description slightly so that if one does not know the expectation, they will have a better understanding of what the expectation is? Perhaps something like "should render filtered results with meaningful accessibility descriptions"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think if we rename this, we would want to make that test more specific. Currently we use should render as expected for most tests that just compare a snapshot. Also since usually if you update the snapshot you might not actually look exactly at the accessible description in there. So I would prefer leaving the name like that or writing a more specific test, that actually finds the description in there and check for it.

Choose a reason for hiding this comment

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

Got it, thanks for explaining the description convention! Good to know :)

Copy link

@emmacunningham emmacunningham left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bhavyarm bhavyarm left a comment

Choose a reason for hiding this comment

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

LGTM tested it locally with voiceover. Thanks @timroes

@timroes timroes merged commit a3bdf49 into elastic:master Jan 29, 2019
@timroes timroes deleted the improve-vis-type-sel-a11y branch January 29, 2019 22:11
timroes added a commit to timroes/kibana that referenced this pull request Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) Project:Accessibility Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.7.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants