Skip to content

Combo box icon accessibility - #876

Merged
snide merged 5 commits into
elastic:masterfrom
snide:accessibility/combo
May 25, 2018
Merged

snide merged 5 commits into
elastic:masterfrom
snide:accessibility/combo

Conversation

@snide

@snide snide commented May 25, 2018

Copy link
Copy Markdown
Contributor

Fixes #785
Fixes #786

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

const removeOptionMessageContent =
`Combo box. Selected. ` +
(searchValue ? `${searchValue}. Selected. ` : '') +
(selectedOptions.length ? `${value}. Unselected. Press Backspace to delete ${selectedOptions[selectedOptions.length - 1].label}. ` : '') +

Copy link
Copy Markdown
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

@cjcenizal cjcenizal left a comment

Copy link
Copy Markdown
Contributor

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