Skip to content

Commit 36ab47f

Browse files
add .remove-button to focus trap query for improved accessibility
1 parent 217d025 commit 36ab47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useFocusTrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const useFocusTrap = (
1616

1717
const focusableStreamButtons: HTMLButtonElement[] = Array.from(
1818
document.querySelectorAll(
19-
'button.streamfeed, .navigation, .footer'
19+
'button.streamfeed, .navigation, .footer, .remove-button'
2020
)
2121
)
2222

0 commit comments

Comments
 (0)