[yelp-xsl] Don't assign ARIA role "button" for expander headers



commit d86536dbf2fdfb53278258c0d4b70ef372be4df3
Author: Shaun McCance <shaunm gnome org>
Date:   Mon Dec 2 08:58:23 2013 -0500

    Don't assign ARIA role "button" for expander headers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=719571

 xslt/common/html.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index f44c924..79b809a 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -1791,7 +1791,7 @@ $(document).ready(function () {
     }
     if (region.attr('id') == '')
       region.attr('id', yelp_generate_id());
-    title.attr('role', 'button').attr('aria-controls', region.attr('id'));
+    title.attr('aria-controls', region.attr('id'));
     var titlespan = title.find('span.title:first');
     var title_e = yelpdata.children('div.yelp-title-expanded');
     var title_c = yelpdata.children('div.yelp-title-collapsed');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]