Problem/Motivation

As the development of SDC builds within Drupal core we intend to build new components that Prototype will provide by default.

Proposed resolution

Create a new component to support alerts that also adheres to SDC schema standards.

Issue fork prototype-3374458

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jldust created an issue. See original summary.

b-ry made their first commit to this issue’s fork.

michaelablackham’s picture

QA & Accessibility

  1. Alerts must be within a ul to accommodate more than one (if needed)
  2. There must be a heading 2 before the list/inside the component
  3. If icons are used to convey information, such as urgency, then this must be conveyed in text (aria-label, visually hidden text, image alt etc)
  4. Default location of the alert component must be found after the "skip" link and before the header
  5. Text links should be descriptive. These can be the alerts themselves, or a descriptive link

jldust’s picture

Status: Active » Closed (outdated)

At this time we have decided to not include an alert component within Prototype, however this may change in the future.