Skip to content

Commit

Permalink
[docs] Updated aria-label description
Browse files Browse the repository at this point in the history
  • Loading branch information
sheila-semrush committed Jun 27, 2024
1 parent 229ba89 commit 1bf5b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/components/notice/notice-a11y.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down

0 comments on commit 1bf5b6e

Please sign in to comment.