From 4629ce73f6401691afce6e1de14b954579714eab Mon Sep 17 00:00:00 2001 From: Xavier Antoviaque Date: Mon, 9 Sep 2013 15:26:39 -0300 Subject: [PATCH] accessibility: Add aria-hidden attribute to the help modal (LMS-584) Added a 'aria-hidden="true"' attribute to the modal initially, then toggle the value of that attribute to "false" when the modal is shown. Also remove the attribute when the modal is closed, whether it's through a click on the close button or on the overlay. --- lms/templates/help_modal.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lms/templates/help_modal.html b/lms/templates/help_modal.html index 0e9c7c24f5..14c5543e07 100644 --- a/lms/templates/help_modal.html +++ b/lms/templates/help_modal.html @@ -12,7 +12,7 @@ ${_("Help")} -