Skip to content

Commit 2ee6d8c

Browse files
committed
feat(toast): Add attribute part='content'
1 parent 9f013b7 commit 2ee6d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/toast/toast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
746746
not interrupt the user which is why this has
747747
a "status" role and a "polite" presentation.
748748
*/}
749-
<div class="toast-content" role="status" aria-atomic="true" aria-live="polite">
749+
<div class="toast-content" part="content" role="status" aria-atomic="true" aria-live="polite">
750750
{/*
751751
This logic below is done to improve consistency
752752
across platforms when showing and updating live regions.

0 commit comments

Comments
 (0)