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

<img> loading attribute #14

Closed
what1s1ove opened this issue Aug 2, 2020 · 4 comments
Closed

<img> loading attribute #14

what1s1ove opened this issue Aug 2, 2020 · 4 comments

Comments

@what1s1ove
Copy link

what1s1ove commented Aug 2, 2020

Hi everyone!
I get the error "Attribute “loading” not allowed on element “img” at this point.", but this is already part of the standard
I can fix this using the "suppressErrors: ["Attribute “loading” not allowed on element “img” at this point."]" rule in my package.json but I do not want to clutter this 😤

Any ideas on how to fix this? Thanks 🙂

Ps. validator.w3.org allows it

@OlehDutchenko
Copy link
Owner

Hi!
I need more time to sort out this problem(
In the online check of the validator itself, the test is passed with the image loading attribute.
So far, suppressing is the only solution to the problem.

OlehDutchenko added a commit that referenced this issue Nov 24, 2020
Fixes #14 <img> loading attribute problem
@what1s1ove
Copy link
Author

Awesome!
Thank you @dutchenkoOleg ❤️

@what1s1ove
Copy link
Author

what1s1ove commented Nov 24, 2020

@dutchenkoOleg , I updated a package, but I still get an error ☹️
изображение

@OlehDutchenko
Copy link
Owner

Just published
https://github.com/dutchenkoOleg/node-w3c-validator/releases/tag/2.0.1

Try this

# should be 2.0.1
npm i node-w3c-validator@latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants