Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

accessible-modal-dialog

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accessible-modal-dialog - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

accessible-modal-dialog.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc