Markup plan for the message body

Created on 9 April 2025, 12 days ago

Problem/Motivation

Do we plan to render the USWDW component code in Drupal even within the alert message itself?

The following examples message markup are as follows:
<h4 class="usa-alert__heading">
<p class="usa-alert__text">
<a class="usa-link">
<ul class="usa-list">

If we intend to, we will need to determine how to do so.

Acceptance Criteria

  1. Determine the intended markup for the message body
  2. Decide on how to implement the intended markup

Proposed resolution

If we decide that we need to faithfully render all the USWDS component markup in the message body, we may be able to do so by way of WYSIWYG plugins or by appending the classes to WYSIWYG content upon save or update.

Any other ideas are also welcome.

Remaining tasks

Steps to reproduce

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States skyriter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024