From 69a0aba210283bfc4374d7c5e5d7cff62d5234b4 Mon Sep 17 00:00:00 2001
From: Antoine SUBRA <92506465+subraAntoine@users.noreply.github.com>
Date: Mon, 12 Aug 2024 14:06:12 +0200
Subject: [PATCH] fix(redmine 1306613): fixed form elements accessibility
errors (#205)
* fix(redmine 1306613): fixed form elements accessibility errors
* fix(redmine 1306613): fix pr review from tony
* fix(redmine 1306613): fixed lint error
* fix(redmine 1306613): fixed lint error
---------
Co-authored-by: Meriemu
Co-authored-by: Quentin Le Caignec <12102823+QuentinLeCaignec@users.noreply.github.com>
---
.changeset/spotty-dryers-admire.md | 5 +++
.../DocumentList/DocumentList.mock.tsx | 2 +-
.../__snapshots__/DocumentList.test.tsx.snap | 4 +++
.../SelectableList/SelectableList.tsx | 7 ++++
.../SelectableList.test.tsx.snap | 3 ++
.../SidebarFilters/SidebarFilters.mock.tsx | 32 +++++++++++++++----
.../SidebarFilters.test.tsx.snap | 18 ++++++++---
.../SwitchableView/SwitchableView.mock.tsx | 6 ++--
.../SwitchableView.test.tsx.snap | 3 ++
9 files changed, 66 insertions(+), 14 deletions(-)
create mode 100644 .changeset/spotty-dryers-admire.md
diff --git a/.changeset/spotty-dryers-admire.md b/.changeset/spotty-dryers-admire.md
new file mode 100644
index 00000000..9b0b7976
--- /dev/null
+++ b/.changeset/spotty-dryers-admire.md
@@ -0,0 +1,5 @@
+---
+'@smile/haring-react': minor
+---
+
+Fixed form elements accessibility error
diff --git a/packages/haring-react/src/Components/DocumentList/DocumentList.mock.tsx b/packages/haring-react/src/Components/DocumentList/DocumentList.mock.tsx
index c0316974..6780d68d 100644
--- a/packages/haring-react/src/Components/DocumentList/DocumentList.mock.tsx
+++ b/packages/haring-react/src/Components/DocumentList/DocumentList.mock.tsx
@@ -14,7 +14,7 @@ export const documentsMock: IDocument[] = [
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
diff --git a/packages/haring-react/src/Components/DocumentList/__snapshots__/DocumentList.test.tsx.snap b/packages/haring-react/src/Components/DocumentList/__snapshots__/DocumentList.test.tsx.snap
index e130de00..40ee63d2 100644
--- a/packages/haring-react/src/Components/DocumentList/__snapshots__/DocumentList.test.tsx.snap
+++ b/packages/haring-react/src/Components/DocumentList/__snapshots__/DocumentList.test.tsx.snap
@@ -217,6 +217,7 @@ exports[`DocumentList matches snapshot 1`] = `
data-label-position="right"
>