From d2af8ab20b5ae12452cffd54985d8c2c40d3e733 Mon Sep 17 00:00:00 2001 From: Dana Cotoran Date: Fri, 12 Mar 2021 16:35:05 +0000 Subject: [PATCH] Update back-to-top SVG arrow attributes It was recommended on GOVUK Accounts team's DAC report that focusable="false" and aria-hidden="true" are added to the "up arrow" SVG on our Privacy notice and Accessibility statement page. This is because SVGs are in tab sequence in IE, which means that focus disappears as it sequences over them. Adding focusable="false" ensures the SVG is not in tab sequence, while aria-hidden="true" ensures that it is hidden from screen readers. --- app/views/components/_back-to-top.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/components/_back-to-top.html.erb b/app/views/components/_back-to-top.html.erb index 3f5c70898..9f5d61fdb 100644 --- a/app/views/components/_back-to-top.html.erb +++ b/app/views/components/_back-to-top.html.erb @@ -3,7 +3,7 @@ %> - + <%= text %>