Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vue material design icons HTML validation #2833

Merged

Conversation

nickvergessen
Copy link
Contributor

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.

Signed-off-by: Joas Schilling coding@schilljs.com

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.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen added bug Something isn't working 3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities labels Jul 13, 2022
@nickvergessen nickvergessen added this to the 5.3.2 milestone Jul 13, 2022
@nickvergessen
Copy link
Contributor Author

/backport to stable5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews accessibility Making sure we design for the widest range of people possible, including those who have disabilities bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants