From 1bf5b6e29b3d23da39359d9b480c516581b3e303 Mon Sep 17 00:00:00 2001 From: faisne <166654065+sheila-semrush@users.noreply.github.com> Date: Thu, 27 Jun 2024 19:19:17 +0200 Subject: [PATCH] [docs] Updated aria-label description --- website/docs/components/notice/notice-a11y.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/components/notice/notice-a11y.md b/website/docs/components/notice/notice-a11y.md index 0300145b46..cc119f7424 100644 --- a/website/docs/components/notice/notice-a11y.md +++ b/website/docs/components/notice/notice-a11y.md @@ -19,7 +19,7 @@ Table: Roles & attributes | Component | Attribute | Usage | | ------------------ | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Notice` | `role="region"` | Defines an ARIA landmark and allows users to navigate to the component easily and to have it listed in a summary of the page. | -| `Notice` | `aria-label="Notification"` | Defines a default accessible name for the region. | +| `Notice` | `aria-label` | Defines a default accessible name for the region: `"Notification"` for **info**, **success** and **warning** themes, and `"Critical notification"` for **danger** theme. | | `Notice` | `aria-live="polite"` | Defines a region which receives updates that are important for the user to receive, but not so rapid as to be annoying. The screen reader will speak changes whenever the user is idle. | | `Notice` | `aria-live="assertive"` (only for `warning` and `danger` themes) | Tells assistive technologies to interrupt other processes to provide users with immediate notification of container changes. | | `Notice.CloseIcon` | `aria-label="Close notification"` | Defines the default accessible name for the **Close** button. |