Be able to use the Alert component from Felles Designsystem #1284
Labels
kind/feature-request
New feature or request
kind/product-feature
Pull requests containing new features
Description
We want to be able to present information in the
Alert
-component from@digdir/desgin-system-react
.Proposed technical solution
This needs to be solved with a new component which implements the
Alert
from@digdir/design-system-react
.The new component should:
severity
.role="alert"
on the component. This is used for cases where alerts appears as a consequence of user input. Screen readers will then be able to relay the text in the alert to its users.title
attributedescription
attributePossibly have an option for turning on and offelevated
property (adding a box-shadow).Additional Information
Screenshot of the design we want to implement:
The alert-component in the design-system
The text was updated successfully, but these errors were encountered: