Skip to content

Accessibility/toasts#780

Merged
snide merged 4 commits intoelastic:masterfrom
snide:accessibility/toasts
May 5, 2018
Merged

Accessibility/toasts#780
snide merged 4 commits intoelastic:masterfrom
snide:accessibility/toasts

Conversation

@snide
Copy link
Copy Markdown
Contributor

@snide snide commented May 4, 2018

Fixes #715, #716

Adds some aria and screen reader friendliness to toasts. I played with a couple solutions here and while role="alert" or aria-live="assertive" seemed like a good idea, in practice if you have more than one toast they overlap each other. Setting aria-live="polite" and providing some context "A new notification appears" feels like the best combo.

@snide snide requested a review from aphelionz May 4, 2018 23:30
Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants