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

focusable-selectors

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focusable-selectors - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

2

index.js

@@ -6,3 +6,3 @@ 'use strict'

negTabIndex: ':not([tabindex^="-"])',
disabled: ':not([disabled])',
disabled: ':not(:disabled)',
}

@@ -9,0 +9,0 @@

{
"name": "focusable-selectors",
"version": "0.5.0",
"version": "0.6.0",
"description": "A list of CSS selectors for focusable elements",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,3 +9,3 @@ # Focusable Selectors

- … and any element with the `contenteditable` attribute,
- … provided they do not have the `disabled` attribute (if they even can),
- … provided they are not disabled,
- … and do not have a negative `tabindex` attribute,

@@ -12,0 +12,0 @@ - … and do not have the [`inert` attribute](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert).

Sorry, the diff of this file is not supported yet

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