Skip to content

Commit

Permalink
only when direct descendent of details element
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceMalone authored and ph-fritsche committed Feb 4, 2025
1 parent df8ad5a commit 773cb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/focus/selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export const FOCUSABLE_SELECTOR = [
'[contenteditable="true"]',
'a[href]',
'[tabindex]:not([disabled])',
'summary',
'details > summary',
].join(', ')

0 comments on commit 773cb0b

Please sign in to comment.