Permalink
Browse files

Merge pull request #70 from okta/add-role-dialog-508-compliance

508 Compliance: Add role attribute to modal.
  • Loading branch information...
JohnSThomas committed Nov 10, 2017
2 parents 0581a6e + d6f65fa commit c2845394e8a5135092ea38bb7fbe3a05fd8a7d57
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/jquery.simplemodal.js
@@ -339,6 +339,8 @@
// create the container
s.d.container = $('<div></div>')
.attr('id', s.o.containerId)
//Adding role attribute with value 'dialog' for 508 compliance.
.attr('role', 'dialog')
.addClass('simplemodal-container')
.css($.extend(
{position: s.o.fixed ? 'fixed' : 'absolute'},

0 comments on commit c284539

Please sign in to comment.