Comparing version 1.0.5 to 1.0.6
# Changelog | ||
## 1.0.6 | ||
- Check `tabindex` attribute (via `getAttribute`), in addition to `node.tabIndex`, to fix handling of SVGs with `tabindex="-1"` in IE. | ||
## 1.0.5 | ||
@@ -4,0 +8,0 @@ |
@@ -23,3 +23,3 @@ module.exports = function(el) { | ||
candidate = candidates[i]; | ||
candidateIndex = candidate.tabIndex; | ||
candidateIndex = parseInt(candidate.getAttribute('tabindex'), 10) || candidate.tabIndex; | ||
@@ -26,0 +26,0 @@ if ( |
{ | ||
"name": "tabbable", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Returns an array of all tabbable DOM nodes within a containing node.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130670