diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index 72d9321a..30e93290 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -1912,16 +1912,17 @@ None.
### Props
-| Prop name | Required | Kind | Reactive | Type | Default value | Description |
-| :-------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ----------------------------------------------------------------------- |
-| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification |
-| lowContrast | No | let
| No | boolean
| false
| Set to `true` to use the low contrast variant |
-| timeout | No | let
| No | number
| 0
| Set the timeout duration (ms) to hide the notification after opening it |
-| role | No | let
| No | string
| "alert"
| Set the `role` attribute |
-| title | No | let
| No | string
| ""
| Specify the title text |
-| subtitle | No | let
| No | string
| ""
| Specify the subtitle text |
-| hideCloseButton | No | let
| No | boolean
| false
| Set to `true` to hide the close button |
-| iconDescription | No | let
| No | string
| "Closes notification"
| Specify the ARIA label for the icon |
+| Prop name | Required | Kind | Reactive | Type | Default value | Description |
+| :--------------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------- |
+| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification |
+| lowContrast | No | let
| No | boolean
| false
| Set to `true` to use the low contrast variant |
+| timeout | No | let
| No | number
| 0
| Set the timeout duration (ms) to hide the notification after opening it |
+| role | No | let
| No | string
| "alert"
| Set the `role` attribute |
+| title | No | let
| No | string
| ""
| Specify the title text |
+| subtitle | No | let
| No | string
| ""
| Specify the subtitle text |
+| hideCloseButton | No | let
| No | boolean
| false
| Set to `true` to hide the close button |
+| statusIconDescription | No | let
| No | string
| kind + " icon"
| Specify the ARIA label for the status icon |
+| closeButtonDescription | No | let
| No | string
| "Close notification"
| Specify the ARIA label for the close button |
### Slots
@@ -2448,11 +2449,11 @@ None.
### Props
-| Prop name | Required | Kind | Reactive | Type | Default value | Description |
-| :--------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------------------- |
-| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification icon |
-| notificationType | No | let
| No | "toast" | "inline"
| "toast"
| Set the type of notification |
-| iconDescription | No | let
| No | string
| "Closes notification"
| Specify the ARIA label for the icon |
+| Prop name | Required | Kind | Reactive | Type | Default value | Description |
+| :--------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | ---------------------- | ------------------------------------- |
+| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification icon |
+| notificationType | No | let
| No | "toast" | "inline"
| "toast"
| Set the type of notification |
+| iconDescription | Yes | let
| No | -- | undefined
| Specify the ARIA label for the icon |
### Slots
@@ -4310,18 +4311,19 @@ export type CarbonTheme = "white" | "g10" | "g80" | "g90" | "g100";
### Props
-| Prop name | Required | Kind | Reactive | Type | Default value | Description |
-| :-------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ----------------------------------------------------------------------------------------- |
-| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification |
-| lowContrast | No | let
| No | boolean
| false
| Set to `true` to use the low contrast variant |
-| timeout | No | let
| No | number
| 0
| Set the timeout duration (ms) to hide the notification after opening it |
-| role | No | let
| No | string
| "alert"
| Set the `role` attribute |
-| title | No | let
| No | string
| ""
| Specify the title text |
-| subtitle | No | let
| No | string
| ""
| Specify the subtitle text |
-| caption | No | let
| No | string
| ""
| Specify the caption text |
-| iconDescription | No | let
| No | string
| "Closes notification"
| Specify the ARIA label for the icon |
-| hideCloseButton | No | let
| No | boolean
| false
| Set to `true` to hide the close button |
-| fullWidth | No | let
| No | boolean
| false
| Set to `true` for the notification to span
the full width of its containing element. |
+| Prop name | Required | Kind | Reactive | Type | Default value | Description |
+| :--------------------- | :------- | :--------------- | :------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------- |
+| kind | No | let
| No | "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"
| "error"
| Specify the kind of notification |
+| lowContrast | No | let
| No | boolean
| false
| Set to `true` to use the low contrast variant |
+| timeout | No | let
| No | number
| 0
| Set the timeout duration (ms) to hide the notification after opening it |
+| role | No | let
| No | string
| "alert"
| Set the `role` attribute |
+| title | No | let
| No | string
| ""
| Specify the title text |
+| subtitle | No | let
| No | string
| ""
| Specify the subtitle text |
+| caption | No | let
| No | string
| ""
| Specify the caption text |
+| statusIconDescription | No | let
| No | string
| kind + " icon"
| Specify the ARIA label for the status icon |
+| closeButtonDescription | No | let
| No | string
| "Close notification"
| Specify the ARIA label for the close button |
+| hideCloseButton | No | let
| No | boolean
| false
| Set to `true` to hide the close button |
+| fullWidth | No | let
| No | boolean
| false
| Set to `true` for the notification to span
the full width of its containing element. |
### Slots
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 88965aab..ce55e9ba 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -5627,11 +5627,23 @@
"reactive": false
},
{
- "name": "iconDescription",
+ "name": "statusIconDescription",
"kind": "let",
- "description": "Specify the ARIA label for the icon",
+ "description": "Specify the ARIA label for the status icon",
"type": "string",
- "value": "\"Closes notification\"",
+ "value": "kind + \" icon\"",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "isRequired": false,
+ "constant": false,
+ "reactive": false
+ },
+ {
+ "name": "closeButtonDescription",
+ "kind": "let",
+ "description": "Specify the ARIA label for the close button",
+ "type": "string",
+ "value": "\"Close notification\"",
"isFunction": false,
"isFunctionDeclaration": false,
"isRequired": false,
@@ -7486,11 +7498,9 @@
"name": "iconDescription",
"kind": "let",
"description": "Specify the ARIA label for the icon",
- "type": "string",
- "value": "\"Closes notification\"",
"isFunction": false,
"isFunctionDeclaration": false,
- "isRequired": false,
+ "isRequired": true,
"constant": false,
"reactive": false
}
@@ -13391,11 +13401,23 @@
"reactive": false
},
{
- "name": "iconDescription",
+ "name": "statusIconDescription",
"kind": "let",
- "description": "Specify the ARIA label for the icon",
+ "description": "Specify the ARIA label for the status icon",
"type": "string",
- "value": "\"Closes notification\"",
+ "value": "kind + \" icon\"",
+ "isFunction": false,
+ "isFunctionDeclaration": false,
+ "isRequired": false,
+ "constant": false,
+ "reactive": false
+ },
+ {
+ "name": "closeButtonDescription",
+ "kind": "let",
+ "description": "Specify the ARIA label for the close button",
+ "type": "string",
+ "value": "\"Close notification\"",
"isFunction": false,
"isFunctionDeclaration": false,
"isRequired": false,
diff --git a/docs/src/pages/components/InlineNotification.svx b/docs/src/pages/components/InlineNotification.svx
index 1652fac1..33482ced 100644
--- a/docs/src/pages/components/InlineNotification.svx
+++ b/docs/src/pages/components/InlineNotification.svx
@@ -7,6 +7,12 @@ components: ["InlineNotification", "NotificationActionButton"]
import Preview from "../../components/Preview.svelte";
+Notification that appears inline.
+
+See [detailed
+usage](https://carbondesignsystem.com/components/notification/usage).
+See also: [ToastNotification](ToastNotification)
+
## Default (error)