diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-13 17:36:23 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-13 17:41:30 +0200 |
commit | bb40af310831bca4477270a3e3cdc86b2d04fb48 (patch) | |
tree | 2a30f56e94575127b7973603bf6b5cde47ea687d /src/components/LeftSidebar/SearchBox/SearchBox.vue | |
parent | 52fd57e1a0edbab389161eb510b272ad81b22dc0 (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/LeftSidebar/SearchBox/SearchBox.vue')
-rw-r--r-- | src/components/LeftSidebar/SearchBox/SearchBox.vue | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/LeftSidebar/SearchBox/SearchBox.vue b/src/components/LeftSidebar/SearchBox/SearchBox.vue index e637402a8..3fe5f4271 100644 --- a/src/components/LeftSidebar/SearchBox/SearchBox.vue +++ b/src/components/LeftSidebar/SearchBox/SearchBox.vue @@ -34,9 +34,7 @@ :aria-label="cancelSearchLabel" @click="abortSearch"> <template #icon> - <Close decorative - title="" - :size="20" /> + <Close :size="20" /> </template> </Button> </form> |