Skip to content

Commit 1c12bc0

Browse files
authored
fix: skip focusables with focusable=false attribute (#5432)
1 parent c1669d2 commit 1c12bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/shared/src/focusable-selectors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const focusables = [
2424
'[contenteditable]:not([contenteditable="false"]):not([inert])',
2525
'details>summary:first-of-type:not([inert])',
2626
'details:not([inert])',
27-
'[focusable]', // custom dev use-case
27+
'[focusable]:not([focusable="false"])', // custom dev use-case
2828
];
2929

3030
const userFocuable = ':not([tabindex="-1"])';

0 commit comments

Comments
 (0)