Skip to content

Commit

Permalink
improve accessibility of the mt-field-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Nov 6, 2024
1 parent a1af05f commit ed03f65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-shoes-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-ag/meteor-component-library": patch
---

Improve accessibility of mt-field-error
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
size="2xs"
color="color-text-critical-default"
class="mt-field__error"
aria-label="Error message"
>
<mt-icon name="solid-exclamation-circle" size="0.75rem" />
<mt-icon name="solid-exclamation-circle" size="0.75rem" aria-hidden="true" />

<span>{{ errorMessage }}</span>
</mt-text>
Expand Down

0 comments on commit ed03f65

Please sign in to comment.