Skip to content

USWDS - Feature: Make Alert dismissible/collapsible #5754

Open

Description

Is your feature request related to a problem? Please describe.

Currently, Alerts are not able to be dismissed or collapsed. We've seen some instances where teams want to use this functionality and also understand that our Component guidance states that notifications should be dismissible where possible:

https://github.com/uswds/uswds-site/blob/7943e666c36de06b0cf7190cb860d89b25eda4d2/_components/alert/guidance/usability.md?plain=1#L5

Describe the solution you'd like

Make the Alert component able to be dismissed or collapsed.

Describe alternatives you've considered

No response

Additional context

Once this work is complete, we'll want to update our Component guidance to remove the additional note of context we'll be adding. See uswds/uswds-site#2425 for more information.

Code of Conduct

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions