accessible-modal-dialog
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,3 +6,3 @@ (function (global) { | ||
function getFocusableChildren (node) { | ||
var focusableElements = ['a[href]', 'area[href]', 'input:not([disabled])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'iframe', 'object', 'embed', '[contenteditable]', '[tabindex]:not([tabindex="-1"])']; | ||
var focusableElements = ['a[href]', 'area[href]', 'input:not([disabled])', 'select:not([disabled])', 'textarea:not([disabled])', 'button:not([disabled])', 'iframe', 'object', 'embed', '[contenteditable]', '[tabindex]:not([tabindex^="-"])']; | ||
@@ -9,0 +9,0 @@ return $$(focusableElements.join(','), node).filter(function (child) { |
{ | ||
"name": "accessible-modal-dialog", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A tiny script to make modal dialogs accessible to assistive technology users.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/edenspiekermann/accessible-modal-dialog", |