From ed03f658c81b9a83b9597e0ba804024d7cd6c095 Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 4 Nov 2024 15:23:48 +0100 Subject: [PATCH] improve accessibility of the mt-field-error --- .changeset/rude-shoes-rush.md | 5 +++++ .../form/_internal/mt-field-error/mt-field-error.vue | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/rude-shoes-rush.md diff --git a/.changeset/rude-shoes-rush.md b/.changeset/rude-shoes-rush.md new file mode 100644 index 00000000..36ec2ecf --- /dev/null +++ b/.changeset/rude-shoes-rush.md @@ -0,0 +1,5 @@ +--- +"@shopware-ag/meteor-component-library": patch +--- + +Improve accessibility of mt-field-error diff --git a/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue b/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue index e6b696dc..09bfcf57 100644 --- a/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue +++ b/packages/component-library/src/components/form/_internal/mt-field-error/mt-field-error.vue @@ -5,9 +5,8 @@ size="2xs" color="color-text-critical-default" class="mt-field__error" - aria-label="Error message" > - +