From 038cc2538485e322cb28c85cd2db6b14117b43b1 Mon Sep 17 00:00:00 2001 From: Gemma Leigh Date: Thu, 11 Aug 2016 15:45:17 +0100 Subject: [PATCH] Include the Shim links with button role script from the frontend toolkit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- app/views/includes/scripts.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/includes/scripts.html b/app/views/includes/scripts.html index c482a781f3..cd5fafb145 100644 --- a/app/views/includes/scripts.html +++ b/app/views/includes/scripts.html @@ -2,4 +2,5 @@ - \ No newline at end of file + +