You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/src/content/docs/components/alerts.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ In case an alert is dynamically added, there are several use cases:
123
123
- The alert is informational and needs a user action but isn’t urgent, you can make it appear inside a `<div role="status">`. The dynamic alert message should reference where to find this action. [More information about the `role="status"`](https://a11y-guidelines.orange.com/en/articles/aria-status-messages/). [See a valid example](#live-example).
124
124
- The alert requires a user action, either add the `role="alert"` directly on the `<div class="alert" role="alert">` and add a way to access to it easily, **or**, focus the newly added alert and once it’s closed, give the focus back to the element that triggered the alert. If the second choice is applied here, you may want to add a focustrap to this alert. [More information about the `role="alert"`](https://a11y-guidelines.orange.com/en/articles/aria-live-alert/).
Alert message is a UI element that provides system feedback, indicates status changes, or prompts required actions through clear, prominent, persistent, and actionable communication.
Inline alert is a lightweight UI element integrated into the content flow. It conveys information, system feedback, and status changes through short, prominent, persistent, and non-actionable messages.
Copy file name to clipboardExpand all lines: site/src/content/docs/components/buttons.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Generally speaking, you should always ask yourself which tag is appropriate for
68
68
69
69
When navigation buttons are used for global navigation (between pages or within content), they should be wrapped in a `<nav>` tag, which must have an explicit (accessible) name defined using, for example, an `aria-label` attribute.
Button is a UI element that triggers an action or event, used to initiate tasks or confirm an action. Button comes in various layouts, styles, and states to convey hierarchy or emphasis.
74
74
@@ -548,15 +548,15 @@ Loading state can also be combined with all kind of buttons, including icons.
@@ -594,7 +594,7 @@ Additional utilities can be used to adjust the alignment of buttons when horizon
594
594
595
595
If you don’t want the button text to wrap, you can add the `.text-nowrap` class to the button. In Sass, you can set `$btn-white-space: nowrap` to disable text wrapping for each button.
Navigation button is a UI element that enables movement between different pages within a multi-page interface. Navigation button is typically arranged in a sequence to indicate the user’s current position and provide controls for accessing previous, next, or specific pages.
Suggestion chip is a UI element that presents recommended or predictive options based on the user's input or context, often utilised to capture filtering decisions.
315
315
@@ -442,7 +442,7 @@ The following example shows every possible renderings depending on the suggestio
442
442
443
443
## Layout
444
444
445
-
This part explains global truth among all the chip variants.
445
+
This layout section applies to both chip component types.
0 commit comments