Skip to content

Commit

Permalink
Add research section to button page
Browse files Browse the repository at this point in the history
Based on this comment in the backlog: alphagov/govuk-design-system-backlog#34 (comment)
  • Loading branch information
timpaul authored Oct 7, 2020
1 parent 1db34a9 commit e7194d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/button/index.md.njk
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,9 @@ To do this, set the `data-prevent-double-click` attribute to `true`. You can do
This feature will prevent double clicks for users that have JavaScript enabled, however you should also think about the issue server-side to protect against attacks.

In the case of slow connections, aim to give the user information about what’s happening, for example, by showing a loading spinner or a modal, before using `data-prevent-double-click`.


## Research on this component

Testing on GOV.UK has shown that [the green colour of start buttons has a positive impact on click-through rates](https://github.com/alphagov/govuk-design-system-backlog/issues/34#issuecomment-699537400).

0 comments on commit e7194d0

Please sign in to comment.