From 041f061dec9728ac6d020f35c585399c695d6249 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Wed, 23 Sep 2020 09:58:27 +0100 Subject: [PATCH] Make only the scrollable table focusable The JS clones the scrollable table so was passing its attributes across to the fixed one (which provides the row headings). This bug was pushed in: https://github.com/alphagov/notifications-admin/pull/3637 --- app/assets/javascripts/fullscreenTable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/fullscreenTable.js b/app/assets/javascripts/fullscreenTable.js index 82026ff51..d25496ce1 100644 --- a/app/assets/javascripts/fullscreenTable.js +++ b/app/assets/javascripts/fullscreenTable.js @@ -48,6 +48,7 @@ .clone() .addClass('fullscreen-fixed-table') .removeClass('fullscreen-scrollable-table') + .removeAttr('role aria-labelledby tabindex') .attr('aria-hidden', true) ) .append(