From 0755d529c6ded76a6c04b13b36ce0471e4bb1ee8 Mon Sep 17 00:00:00 2001 From: Cameron Little Date: Tue, 9 Sep 2014 18:17:56 +0200 Subject: [PATCH] Tabs plugin accessibility Added support for `aria-expanded` toggling via JavaScript. Added `aria-controls`, `aria-expanded`, `aria-labelledby` to tabs docs. Added `aria-expanded` unit test for the tabs plugin. See also #13554. Closes #14154 by merging it. --- docs/_includes/js/tabs.html | 20 ++++++++++---------- js/tab.js | 17 ++++++++++++++--- js/tests/unit/tab.js | 24 ++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 13 deletions(-) diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index f520e0f964..aec6485aa2 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -5,27 +5,27 @@

Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.