Permalink
Browse files

Dialog: Add "role=button" to the close button.

  • Loading branch information...
gabrielschulhof committed Jul 17, 2013
1 parent d7c81b3 commit d8c597fb1212626480230cea062256473d641584
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/widgets/dialog.js
View
@@ -99,6 +99,7 @@ $.widget( "mobile.dialog", $.extend( {
location = ( value === "left" ? "left" : "right" );
dst = this.element.children().find( ":jqmData(role='header')" ).first();
btn = $( "<a></a>", {
"role": "button",
"href": "#",
"class": "ui-btn ui-btn-" + location +
" ui-corner-all ui-icon-delete ui-btn-icon-notext"

0 comments on commit d8c597f

Please sign in to comment.