From b4a98d07d0b8d7b034d8bce3f1aa87fa38bebaec Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 14 Jul 2017 17:27:04 +0100 Subject: [PATCH] Make old JAWS recognise disabled buttons JAWS 15 and below don't recognise the `disabled` attribute on buttons. This adds the `aria-disabled` attribute to make disabled buttons compatible with older screen readers. --- app/views/guide_buttons.html | 3 ++- app/views/snippets/buttons_button_disabled.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/guide_buttons.html b/app/views/guide_buttons.html index ba43d81a5..7817f3bb4 100755 --- a/app/views/guide_buttons.html +++ b/app/views/guide_buttons.html @@ -85,12 +85,13 @@

Disabled buttons

- +
diff --git a/app/views/snippets/buttons_button_disabled.html b/app/views/snippets/buttons_button_disabled.html
index 11c1498e6..9ab148e78 100644
--- a/app/views/snippets/buttons_button_disabled.html
+++ b/app/views/snippets/buttons_button_disabled.html
@@ -1 +1 @@
-
+