Skip to content

Commit

Permalink
Merge pull request #27 from wayfair-incubator/sdennett55-patch-1
Browse files Browse the repository at this point in the history
Fixing invalid DOM selector
  • Loading branch information
vpodk authored Mar 7, 2022
2 parents 95e01ef + b519ed6 commit 6372102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const FOCUSABLE_ELEMENTS_SELECTORS = [
// Links must have `href` attribute to be focusable.
`a[href]:not(.${BOUNDER_LINK_CLASS_NAME}):not([disabled])`,
// All items with `tabIndex` are focusable but must be >=0
"[tabindex]:not([tabindex=-1]):not([disabled])",
"[tabindex]:not([tabindex='-1']):not([disabled])",
"[contenteditable]",
// Form elements:
"button:not([disabled]), input:not([disabled])",
Expand Down

0 comments on commit 6372102

Please sign in to comment.