Skip to content

Commit

Permalink
Fix issue on VO/Mac
Browse files Browse the repository at this point in the history
Close #21
  • Loading branch information
nico3333fr authored Aug 18, 2017
1 parent 4fdf2ce commit 8f11cd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery-accessible-modal-window-aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jQuery(document).ready(function($) {

/*
* jQuery simple and accessible modal window, using ARIA
* @version v1.8.1
* @version v1.8.2
* Website: https://a11y.nicolas-hoffmann.net/modal/
* License MIT: https://github.com/nico3333fr/jquery-accessible-modal-window-aria/blob/master/LICENSE
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ jQuery(document).ready(function($) {
$page = $('#js-modal-page');

// insert code at the end
$modal_code = '<dialog id="js-modal" class="' + $modal_prefix_classes + 'modal" role="dialog" aria-labelledby="modal-title" open aria-modal="true"><div role="document">';
$modal_code = '<dialog id="js-modal" class="' + $modal_prefix_classes + 'modal" aria-labelledby="modal-title" open aria-modal="true"><div role="document">';
$modal_code += '<button type="button" id="js-modal-close" class="' + $modal_prefix_classes + 'modal-close" data-content-back-id="' + modal_content_id + '" data-focus-back="' + $modal_starter_id + '" title="' + $modal_close_title + '">';
if ($modal_close_img !== '') {
$modal_code += '<img src="' + $modal_close_img + '" alt="' + $modal_close_text + '" class="' + $modal_prefix_classes + 'modal__closeimg" />';
Expand Down

0 comments on commit 8f11cd4

Please sign in to comment.