Skip to content

Commit 56738fc

Browse files
Update docs/api/toast.md
Co-authored-by: Brandy Carney <[email protected]>
1 parent ceb9083 commit 56738fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/toast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ While this is not a complete list, here are some guidelines to follow when using
210210

211211
* If adding buttons to a toast, always provide alternative ways of completing the actions associated with each button. This ensures that even if the toast dismisses before a user can read it, they can still complete the actions shown in the toast.
212212

213-
* Avoid showing a toast with buttons from inside another overlay such as a [modal](./modal). Other overlays implement [focus trapping](./modal#focus-trapping) that will prevent screen readers from moving focus to the toast to complete the actions. This may be confusing for users since the toast will still be announced by screen readers. This is true even if alternative ways of completing the actions associated with each button are implemented.
213+
* Avoid showing a toast with buttons from inside another overlay such as a [modal](./modal). Modals and other overlays implement [focus trapping](./modal#focus-trapping) that will prevent screen readers from moving focus to the toast to complete the actions. This may be confusing for users since the toast will still be announced by screen readers. This is true even if alternative ways of completing the actions associated with each button are implemented.
214214

215215
## Interfaces
216216

0 commit comments

Comments
 (0)