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

Combo box icon accessibility #876

Merged
merged 5 commits into from
May 25, 2018
Merged

Conversation

snide
Copy link
Contributor

@snide snide commented May 25, 2018

Fixes #785
Fixes #786

Adds some labeling to the buttons in form_layout / combo box.

@@ -121,7 +121,7 @@ export class EuiComboBoxInput extends Component {
const removeOptionMessageContent =
`Combo box. Selected. ` +
(searchValue ? `${searchValue}. Selected. ` : '') +
(selectedOptions.length ? `${value}. Unselected. Press Backspace to delete ${selectedOptions[selectedOptions.length - 1].label}. ` : '') +
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cjcenizal I couldn't see a usage for the "unselected" bit? re: #785

@snide snide requested a review from cjcenizal May 25, 2018 17:28
Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing this!

@snide snide merged commit 4676ff0 into elastic:master May 25, 2018
@snide snide deleted the accessibility/combo branch May 25, 2018 18:03
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