Flexible section

Govspeak

Wraps the govspeak component

The Govspeak flexible section displays the govspeak component.

See the govspeak component for more details of what can be passed to govspeak.

Overview

How it looks (preview) (preview all)

A heading

This is some govspeak.

Passing data to this flexible section

Flexible sections are not called in the way shown below, however this information serves as a reference for the data required by this flexible section.

<%= render "flexible_page/flexible_sections/govspeak", {
  govspeak: sanitize("<h2>A heading</h2>
    <p>This is some govspeak.</p>
    ")
} %>

Accessibility acceptance criteria

Links must:

  • accept focus
  • be focusable with a keyboard
  • be usable with a keyboard
  • indicate when they have focus
  • change in appearance when touched (in the touch-down state)
  • change in appearance when hovered
  • be usable with touch
  • be usable with voice commands
  • have visible text
  • have meaningful text