WordPress
patterns/cta-boxed-text-centered-static.php
✔ Core
✔ Custom
- Use: a call to action that should stand apart from the surrounding content, on pages whose other sections are centred too, in a promotional rather than factual tone.
- Not when several sit close together, where they compete, and not on factual pages with left-aligned sections.
- Source: entered by hand in the editor.
- Content: a heading that states the promise, an optional subline that backs it up, a required primary button and an optional secondary button, each labelled with the action.
patterns/cta-boxed-text-left-static.php
✔ Core
✔ Custom
- Use: a call to action that should stand apart from the surrounding content, on pages whose other sections are left-aligned, in a factual tone and taking little height, for example directly above the footer.
- Not on promotional pages with centred sections, and not for long headings.
- Source: entered by hand in the editor.
- Content: a heading that states the promise, an optional subline that backs it up, a required primary button and an optional secondary button, each labelled with the action.
patterns/cta-centered-static.php
✔ Core
✔ Custom
- Use: a call to action that should feel part of the page, between content sections, on pages whose other sections are centred too, in a promotional rather than factual tone.
- Not when it must clearly stand apart, and not on factual pages with left-aligned sections.
- Source: entered by hand in the editor.
- Content: a heading that states the promise, an optional subline that backs it up, a required primary button and an optional secondary button, each labelled with the action.
patterns/cta-left-static.php
✔ Core
✔ Custom
- Use: a call to action that should follow the reading flow of a text page, on pages whose other sections are left-aligned, in a factual tone.
- Not when it needs to interrupt or stand apart, and not on promotional pages with centred sections.
- Source: entered by hand in the editor.
- Content: a heading that states the promise, an optional subline that backs it up, a required primary button and an optional secondary button, each labelled with the action.
Figma
Docs
- The call to action should be worded actively.
- When text is placed over an image, sufficient color contrast must be ensured.
- For video backgrounds, note that they must be limited to 5 seconds or be pausable. (WCAG SC 2.2.2)
- Make sure CTA sections are not designed in a way that triggers a false ending effect.
