Trên trang này

Trang này chưa có bản tiếng Việt, nội dung bên dưới là bản tiếng Anh. Xem trang tiếng Anh

Toast

What Toast gives you and what your team does.

Conformance

Toast meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Alt + T moves focus to the toasts.
  • Tab reaches a toast’s action and close buttons.

What Toast gives you

  • A live region, so screen readers read new toasts.
  • Toasts pause while hovered or focused.

What your team does

  • Never put the only way to do something in a toast.
  • Keep the text to one short sentence.

WCAG criteria

Criterion Level How
4.1.3 Status Messages AA Toasts are announced
2.2.1 Timing Adjustable A Hover or focus pauses the timer