Skip to content

Build component in HTML and Nunjucks #2095

@Asma-Ban

Description

@Asma-Ban

What

  • Build the building block to be available in HTML and Nunjucks.
  • Where the building block requires JavaScript, ensure it's progressively enhanced with a no-JS version.
  • Building block to be responsive.
  • Work alongside the Accessibility Specialist to check decisions along the way.
  • Follow GOV Design System coding conventions.

Why

To make the building block available in the MoJ Design System for teams to use in live products and services as well as in coded prototypes.

Who needs to be involved

  • Developer
  • Accessibility Specialist

To Do

  • Finalise Nunjucks templates
  • Rename layouts to stacked / inline
  • Handle error summaries
  • Handle error messages in horizontal layout
  • Finalise emitted events
  • Document Nunjucks options
  • Write tests!

Done

The building block is built when:

  • It's available in HTML and Nunjucks.
  • Has passed automated tests.
  • Has been reviewed by the Content and Interaction Designer.
  • Has been reviewed and passed by the Accessibility Specialist as WCAG 2.2. compliant.
  • Has been peer reviewed by a Developer

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions