Skip to content

Small accessibility fixes to toasts and combo box#1803

Merged
snide merged 7 commits intoelastic:masterfrom
snide:a11y/toats
Apr 9, 2019
Merged

Small accessibility fixes to toasts and combo box#1803
snide merged 7 commits intoelastic:masterfrom
snide:a11y/toats

Conversation

@snide
Copy link
Copy Markdown
Contributor

@snide snide commented Apr 6, 2019

Summary

Easy one while I was cleaning out the backlog. As long as an item within a toast has focus, it will stick around. When you tab out, it will resume the countdown, similar to mouse actions.

Fixes #717

Also added a fixes #1343. Given how direct the combo box is with instruction it seemed like the best thing to do was announce the placeholder in the same way.

image

Checklist

  • This was checked in mobile
  • This was checked in IE11
  • This was checked in dark mode
  • Any props added have proper autodocs
  • Documentation examples were added
  • A changelog entry exists and is marked appropriately
  • This was checked for breaking changes and labeled appropriately
  • Jest tests were updated or added to match the most common scenarios
  • This was checked against keyboard-only and screenreader scenarios
  • This required updates to Framer X components

@snide snide changed the title Toasts no longer dismiss when they hold focus Small accessibility fixes to toasts and combo box Apr 6, 2019
Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Should the toast also still persist if the user has clicked inside it, example is selecting text:

@snide
Copy link
Copy Markdown
Contributor Author

snide commented Apr 9, 2019

This is ready for a final review I think. I don't know how to address the text selection stuff, but between the mouse hover and the tabbing inside I think it's good enough to close out that old ticket.

@snide snide merged commit 49eaac1 into elastic:master Apr 9, 2019
@snide snide deleted the a11y/toats branch April 9, 2019 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants