diff --git a/packages/@headlessui-react/src/test-utils/interactions.ts b/packages/@headlessui-react/src/test-utils/interactions.ts index 6e2c608c76..175efc5449 100644 --- a/packages/@headlessui-react/src/test-utils/interactions.ts +++ b/packages/@headlessui-react/src/test-utils/interactions.ts @@ -488,6 +488,7 @@ let focusableSelector = [ 'iframe', 'input:not([disabled])', 'select:not([disabled])', + 'summary', 'textarea:not([disabled])', ] .map( diff --git a/packages/@headlessui-react/src/utils/focus-management.ts b/packages/@headlessui-react/src/utils/focus-management.ts index 1a39a3b5c4..6e7faa934f 100644 --- a/packages/@headlessui-react/src/utils/focus-management.ts +++ b/packages/@headlessui-react/src/utils/focus-management.ts @@ -14,6 +14,7 @@ export let focusableSelector = [ 'iframe', 'input:not([disabled])', 'select:not([disabled])', + 'summary', 'textarea:not([disabled])', ] .map( diff --git a/packages/@headlessui-vue/src/test-utils/interactions.ts b/packages/@headlessui-vue/src/test-utils/interactions.ts index 58418680e9..d9501a16e3 100644 --- a/packages/@headlessui-vue/src/test-utils/interactions.ts +++ b/packages/@headlessui-vue/src/test-utils/interactions.ts @@ -467,6 +467,7 @@ let focusableSelector = [ 'iframe', 'input:not([disabled])', 'select:not([disabled])', + 'summary', 'textarea:not([disabled])', ] .map( diff --git a/packages/@headlessui-vue/src/utils/focus-management.ts b/packages/@headlessui-vue/src/utils/focus-management.ts index 7ac88984d0..f50ee5b0e3 100644 --- a/packages/@headlessui-vue/src/utils/focus-management.ts +++ b/packages/@headlessui-vue/src/utils/focus-management.ts @@ -13,6 +13,7 @@ export let focusableSelector = [ 'iframe', 'input:not([disabled])', 'select:not([disabled])', + 'summary', 'textarea:not([disabled])', ] .map(