diff --git a/js/jquery.mobile.dialog.js b/js/jquery.mobile.dialog.js index 9a42a67e..af7a38f3 100644 --- a/js/jquery.mobile.dialog.js +++ b/js/jquery.mobile.dialog.js @@ -8,6 +8,8 @@ $.fn.dialog = function(options){ return $(this).each(function(){ $(this) + //add ARIA role + .attr("role","dialog") .addClass('ui-page ui-dialog ui-body-a') .find('[data-role=header]') .addClass('ui-corner-top ui-overlay-shadow') diff --git a/js/jquery.mobile.forms.button.js b/js/jquery.mobile.forms.button.js index 7ab55e72..dd2ca24f 100644 --- a/js/jquery.mobile.forms.button.js +++ b/js/jquery.mobile.forms.button.js @@ -8,7 +8,7 @@ $.fn.customButton = function(){ return $(this).each(function(){ var button = $(this).addClass('ui-btn-hidden').attr('tabindex','-1'); - + //add ARIA role $(''+ (button.text() || button.val()) +'') .buttonMarkup({theme: button.attr('data-theme'), icon: button.attr('data-icon')}) .click(function(){ diff --git a/js/jquery.mobile.forms.slider.js b/js/jquery.mobile.forms.slider.js index 98e8e5f1..65b34c45 100644 --- a/js/jquery.mobile.forms.slider.js +++ b/js/jquery.mobile.forms.slider.js @@ -42,7 +42,7 @@ $.fn.slider = function(options){ corners = (i==0) ? 'right' :'left', theme = (i==0) ?'c':'b'; $('
').prependTo(slider); - $('').prependTo(handle); + $('').prependTo(handle); }); } diff --git a/js/jquery.mobile.listview.filter.js b/js/jquery.mobile.listview.filter.js index bb49660e..e5238efa 100644 --- a/js/jquery.mobile.listview.filter.js +++ b/js/jquery.mobile.listview.filter.js @@ -9,7 +9,7 @@ $( ":mobile-listview" ).live( "listviewcreate", function() { return; } - var wrapper = $( "