From 099b42b31ebb3ba4717011decf1c445fef57814c Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Sun, 20 Sep 2020 21:20:51 +0100 Subject: [PATCH] Make all control buttons aria-expanded=false Suggested by the Digital Accessibility Centre in their report. Giving these buttons aria-expanded=false indicates: - they control a section on the page - that section is collapsed (and so clicking the button will open it) --- app/assets/javascripts/templateFolderForm.js | 10 ++++++---- tests/javascripts/templateFolderForm.test.js | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/templateFolderForm.js b/app/assets/javascripts/templateFolderForm.js index c21a3a8cd..0b49494c9 100644 --- a/app/assets/javascripts/templateFolderForm.js +++ b/app/assets/javascripts/templateFolderForm.js @@ -260,8 +260,10 @@ this.nothingSelectedButtons = $(`
- - + +