From b9bc5fed84c1fb526ef1ab815d6d483636375273 Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Sun, 7 Jul 2013 20:26:28 +0200 Subject: [PATCH] jquery.makeCollapsible: Togglers accessibility Use tabindex="0" and role="button" for all togglers, custom or not. Bug: 17616 Change-Id: If59590de159a2756bf5b859ce48a23e1af7650fa --- resources/jquery/jquery.makeCollapsible.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/jquery/jquery.makeCollapsible.js b/resources/jquery/jquery.makeCollapsible.js index 282317419c..3a6c1b12a0 100644 --- a/resources/jquery/jquery.makeCollapsible.js +++ b/resources/jquery/jquery.makeCollapsible.js @@ -358,6 +358,10 @@ } } + // Attributes for accessibility. This isn't necessary when the toggler is already + // an or a