From a8a7ce370b654092864684ac822744d130aab591 Mon Sep 17 00:00:00 2001 From: Dave Falke Date: Fri, 15 Nov 2024 11:54:02 -0500 Subject: [PATCH 1/2] use type=button for PopoverButton --- .../src/components/buttons/PopoverButton/PopoverButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/libs/coreui/src/components/buttons/PopoverButton/PopoverButton.tsx b/packages/libs/coreui/src/components/buttons/PopoverButton/PopoverButton.tsx index 07dcc8db43..bf018fefd4 100644 --- a/packages/libs/coreui/src/components/buttons/PopoverButton/PopoverButton.tsx +++ b/packages/libs/coreui/src/components/buttons/PopoverButton/PopoverButton.tsx @@ -177,6 +177,7 @@ const PopoverButton = forwardRef( additionalAriaProperties={{ 'aria-controls': 'dropdown', 'aria-haspopup': 'true', + type: 'button', }} /> ); From 22a70528ca8272381467a0e0054f399214d48e5a Mon Sep 17 00:00:00 2001 From: Dave Falke Date: Fri, 15 Nov 2024 11:55:42 -0500 Subject: [PATCH 2/2] use :focus-visible instead of :focus --- packages/libs/coreui/src/components/theming/UIThemeProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libs/coreui/src/components/theming/UIThemeProvider.tsx b/packages/libs/coreui/src/components/theming/UIThemeProvider.tsx index 668a387186..e6481d115a 100644 --- a/packages/libs/coreui/src/components/theming/UIThemeProvider.tsx +++ b/packages/libs/coreui/src/components/theming/UIThemeProvider.tsx @@ -18,7 +18,7 @@ export default function UIThemeProvider({