From ee12ce83057233d271f42162ef3dd2d42d315176 Mon Sep 17 00:00:00 2001 From: Max Kramer Date: Thu, 22 May 2014 18:13:41 -0400 Subject: [PATCH] Add aria-haspopup and aria-expanded attributes to dropdown plugin 1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs 2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown. See #13553. --- docs/_includes/js/dropdowns.html | 16 ++++++++-------- js/dropdown.js | 8 ++++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html index 27b06fe953..2f03bddc14 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -20,7 +20,7 @@