summaryrefslogtreecommitdiffstats
path: root/src/components/Quote.vue
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-07-13 17:36:23 +0200
committerJoas Schilling <coding@schilljs.com>2022-07-13 17:41:30 +0200
commitbb40af310831bca4477270a3e3cdc86b2d04fb48 (patch)
tree2a30f56e94575127b7973603bf6b5cde47ea687d /src/components/Quote.vue
parent52fd57e1a0edbab389161eb510b272ad81b22dc0 (diff)
Since v5.0.0 of the lib, the property decorative has been removed.
This means the "decorative" is added to the span element, causing the HTML validation to fail: > Attribute decorative not allowed on element span at this point. Upstream commit https://github.com/robcresswell/vue-material-design-icons/commit/c65d8ea786ea49210193cb3129c12a68ed6c0baf > This patch also removes the default title, encouraging better > accessibility by removing unhelpful titles that dont indicate usage. The > `decorative` prop has been removed and any icons that do not have a > meaningful title will be hidden from screen readers. Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/Quote.vue')
-rw-r--r--src/components/Quote.vue4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/Quote.vue b/src/components/Quote.vue
index a0e1d366b..25e290a7f 100644
--- a/src/components/Quote.vue
+++ b/src/components/Quote.vue
@@ -49,9 +49,7 @@ components.
:aria-label="cancelQuoteLabel"
@click="handleAbortReply">
<template #icon>
- <Close decorative
- title=""
- :size="20" />
+ <Close :size="20" />
</template>
</Button>
</div>