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

Include the shim-links-with-button-role.js script from the govuk_frontend_toolkit #237

Merged
merged 3 commits into from
Aug 22, 2016

Commits on Aug 19, 2016

  1. Include the Shim links with button role script from the frontend toolkit

    Links styled to look like buttons lack button behaviour. This script will allow them to be triggered with a space key after they’ve been focused, to match standard buttons.
    
    By default, this behaviour will only be applied to links with a role of button.
    gemmaleigh committed Aug 19, 2016
    Configuration menu
    Copy the full SHA
    038cc25 View commit details
    Browse the repository at this point in the history
  2. Use the GOV.UK shim-links-with-button-role.js script

    By default, this behaviour will only be applied to links with a role of button.
    <a class="button" role="button">A button</a>
    
    This script will allow them to be triggered with a space key after they’ve been focused, to match standard buttons.
    gemmaleigh committed Aug 19, 2016
    Configuration menu
    Copy the full SHA
    baf595f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42be774 View commit details
    Browse the repository at this point in the history