Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix focus colour for buttons #579

Merged
merged 2 commits into from
Oct 12, 2018
Merged

Fix focus colour for buttons #579

merged 2 commits into from
Oct 12, 2018

Conversation

alex-ju
Copy link
Contributor

@alex-ju alex-ju commented Oct 12, 2018

This PR sets the appropriate background colour when buttons are being focused and updates the examples to use the <button> element by default (instead of <a>), as it's the recommended way.

Before

screen shot 2018-10-12 at 12 15 48

After

screen shot 2018-10-12 at 12 13 26

Trello card


Component guide for this PR:
https://govuk-publishing-compon-pr-579.herokuapp.com/component-guide/button

@alex-ju alex-ju merged commit c9ecc91 into master Oct 12, 2018
@alex-ju alex-ju deleted the fix-focus-colour-for-buttons branch October 12, 2018 12:13
alex-ju added a commit that referenced this pull request Oct 12, 2018
* Add option to send the `user_organisation` in admin analytics component (PR #577)
* Add a bottom margin to the error-alert component (PR #578)
* Update the way we include Javascript and Stylesheets in the admin layout
  component. Make sure to follow the [installation instructions](docs/install-and-use.md) (PR #571) if your using the admin layout component.
* Fix background colour for focused buttons (PR #579)
@alex-ju alex-ju mentioned this pull request Oct 12, 2018
tijmenb pushed a commit that referenced this pull request Oct 15, 2018
* Add option to send the `user_organisation` in admin analytics component (PR #577)
* Add a bottom margin to the error-alert component (PR #578)
* Update the way we include Javascript and Stylesheets in the admin layout
  component. Make sure to follow the [installation instructions](docs/install-and-use.md) (PR #571) if your using the admin layout component.
* Fix background colour for focused buttons (PR #579)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants