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

[#1846] Fixed functionality and a11y issues with generic service editor dialog. #1871

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

tonyanziano
Copy link
Contributor

#1846

===

The <KvPair/> component was actually broken and did not work. Additionally, the accessibility was not satisfactory.

Before, the control would try to auto-add new rows as you started filling in the previous rows, but did not work properly. The new, simplified approach provides buttons to add or remove rows.

The component will now also focus the newest row after adding a row, as well as announce to the screen reader when the user deletes a row.

Before:
oldKv

After:
newKv

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 65.74% when pulling 7144a14 on toanzian/acc-#1846 into 10efb67 on master.

Copy link
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

:) cool stuff

@@ -73,3 +73,20 @@ ul.kv-pair-container {
.no-border {
border: none;
}

.link-button {
Copy link
Contributor

Choose a reason for hiding this comment

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

just FYI I'll replace this with <LinkButton> when it's time to merge my PR :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good!

@tonyanziano tonyanziano merged commit dc8cf55 into master Sep 17, 2019
@tonyanziano tonyanziano deleted the toanzian/acc-#1846 branch September 17, 2019 17:06
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