From 0ad5f046cabd1412de237046852382872b782580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C4=8Curda?= Date: Mon, 6 May 2024 11:10:53 +0200 Subject: [PATCH] fixup! BREAKING CHANGE(web-react): The alert role has been removed for Alert component #DS-1175 --- packages/web-react/src/components/Alert/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/web-react/src/components/Alert/README.md b/packages/web-react/src/components/Alert/README.md index 9c83f047b1..6667f75386 100644 --- a/packages/web-react/src/components/Alert/README.md +++ b/packages/web-react/src/components/Alert/README.md @@ -44,6 +44,9 @@ and [escape hatches][readme-escape-hatches]. For detailed information see [Alert][alert] component. +Please pay attention to the accessibility setting when Alert is dynamically displayed. In cases where you need to use the component as an information that requires the user's immediate attention, +you can set `role="alert"` as an [additional attributes][readme-additional-attributes]. + [alert]: https://github.com/lmc-eu/spirit-design-system/blob/main/packages/web/src/scss/components/Alert/README.md [dictionary-color]: https://github.com/lmc-eu/spirit-design-system/tree/main/docs/DICTIONARIES.md#color [icon-package]: https://github.com/lmc-eu/spirit-design-system/tree/main/packages/icons