fix: fix aria-hidden on toast (#1194)

* fix: fix aria-hidden on toast

* fixup
This commit is contained in:
Nolan Lawson 2019-05-08 07:51:53 -07:00 committed by GitHub
parent 2425ca8f72
commit c56d561e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<div class="toast-modal {shown ? 'shown' : ''}" role="alert" aria-hidden={shown}>
<div class="toast-modal {shown ? 'shown' : ''}" role="alert" aria-hidden={!shown}>
<div class="toast-container">
{text}
</div>