Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Dialog: Add "role=button" to the close button.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jul 17, 2013
1 parent d7c81b3 commit d8c597f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/widgets/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d8c597f

Please sign in to comment.