Skip to content

Commit

Permalink
Update critical banner dismiss section (#913)
Browse files Browse the repository at this point in the history
* Update critical banner dismiss section

Update critical banner dismiss section

* Update content/components/banner.mdx

Co-authored-by: Josh Black <joshblack@github.com>

---------

Co-authored-by: Josh Black <joshblack@github.com>
  • Loading branch information
lukasoppermann and joshblack authored Jan 24, 2025
1 parent e1ef5ff commit 10dd107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/components/banner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ Use the following as a guideline:
>
<div>

Critical banners can't be dismissable. They are mostly used for errors which need to be resolved. As a result you can only get rid of a critical banner by resolving the error. If used to warn about destructive actions, the banner should also not be dismissable.
Critical banners communicate an error which the user must resolve in order for the banner to disappear. In certain cases, the banner may be dismissible when notifying the user of a failed action. If used to warn about destructive actions, the banner should also not be dismissible.

If the error must be resolved on a different page, use an action that directs the user to the page where the error can be resolved.

Expand Down

0 comments on commit 10dd107

Please sign in to comment.