Skip to content

Commit 41f202f

Browse files
fix(focus): add permisison element to focusable elements list (#8356)
Co-authored-by: Robert Snow <[email protected]>
1 parent a580080 commit 41f202f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/@react-aria/utils/src/isFocusable.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const focusableElements = [
1111
'embed',
1212
'audio[controls]',
1313
'video[controls]',
14-
'[contenteditable]:not([contenteditable^="false"])'
14+
'[contenteditable]:not([contenteditable^="false"])',
15+
'permission'
1516
];
1617

1718
const FOCUSABLE_ELEMENT_SELECTOR = focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])';

0 commit comments

Comments
 (0)