From 3d27f22453fccc14bc7babc0b7cac21b5b60da5f Mon Sep 17 00:00:00 2001 From: Meriemu Date: Mon, 12 Aug 2024 11:16:01 +0200 Subject: [PATCH] feat(redmine 1306629): accessibility correction focusable element (#212) --- .changeset/proud-clocks-try.md | 5 +++++ .../src/Components/DropdownButton/DropdownButton.tsx | 1 + .../__snapshots__/DropdownButton.test.tsx.snap | 5 ++--- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/proud-clocks-try.md diff --git a/.changeset/proud-clocks-try.md b/.changeset/proud-clocks-try.md new file mode 100644 index 00000000..2be3133e --- /dev/null +++ b/.changeset/proud-clocks-try.md @@ -0,0 +1,5 @@ +--- +'@smile/haring-react': minor +--- + +correction to accessibility error dropdownMenu (focusable element) diff --git a/packages/haring-react/src/Components/DropdownButton/DropdownButton.tsx b/packages/haring-react/src/Components/DropdownButton/DropdownButton.tsx index d3e29e36..11f95ae4 100644 --- a/packages/haring-react/src/Components/DropdownButton/DropdownButton.tsx +++ b/packages/haring-react/src/Components/DropdownButton/DropdownButton.tsx @@ -38,6 +38,7 @@ export function DropdownButton(props: IDropdownButtonProps): ReactElement { {buttonComponent ?? ( + `;