Skip to content

Conversation

@nickvergessen
Copy link
Member

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
robcresswell/vue-material-design-icons@c65d8ea

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.


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
robcresswell/vue-material-design-icons@c65d8ea

> 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 <[email protected]>
@nickvergessen nickvergessen force-pushed the bugfix/noid/html-validation-vue-material-design-icons branch from 834c1e8 to bb40af3 Compare July 13, 2022 15:41
@nickvergessen nickvergessen merged commit 3f85db0 into master Jul 14, 2022
@nickvergessen nickvergessen deleted the bugfix/noid/html-validation-vue-material-design-icons branch July 14, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants