Skip to content

Commit

Permalink
WIP: Move ARIA attributes to label element
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvorak committed Nov 16, 2018
1 parent 6f34f18 commit 90a52ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@

<div class="mdc-snackbar mdc-snackbar--open"
id="test-snackbar--no-action"
role="status"
aria-live="polite"
data-test-snackbar-timeout-ms="4000">
<div class="mdc-snackbar__surface">
<div class="mdc-snackbar__label">Message sent.</div>
<div class="mdc-snackbar__label"
role="status"
aria-live="polite">Message sent.</div>
<div class="mdc-snackbar__actions">
<button class="mdc-icon-button mdc-snackbar__action-icon material-icons" title="Dismiss">close</button>
</div>
Expand Down
6 changes: 3 additions & 3 deletions test/screenshot/spec/mdc-snackbar/classes/wide.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@

<div class="mdc-snackbar mdc-snackbar--wide mdc-snackbar--open"
id="test-snackbar--wide"
role="status"
aria-live="polite"
data-test-snackbar-timeout-ms="10000">
<div class="mdc-snackbar__surface">
<div class="mdc-snackbar__label">
<div class="mdc-snackbar__label"
role="status"
aria-live="polite">
Connection timed out. Showing the latest locally saved version of this document.
Edits made while offline will not be visible to other users until network connectivity is restored.
</div>
Expand Down

0 comments on commit 90a52ff

Please sign in to comment.