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

W3 validation errors #5845

Open
vctrklndr opened this issue Jan 11, 2024 · 0 comments
Open

W3 validation errors #5845

vctrklndr opened this issue Jan 11, 2024 · 0 comments
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@vctrklndr
Copy link

vctrklndr commented Jan 11, 2024

When validating the React-Select component I'm getting several errors from W3 validation:

Element [style](https://html.spec.whatwg.org/multipage/#the-style-element) not allowed as child of element [span](https://html.spec.whatwg.org/multipage/#the-span-element) in this context. (Suppressing further errors from this subtree.)

Element [div](https://html.spec.whatwg.org/multipage/#the-div-element) not allowed as child of element [span](https://html.spec.whatwg.org/multipage/#the-span-element) in this context. (Suppressing further errors from this subtree.)

I'm using a <span> as a container for the component, since using a <div>, which would be more semantically correct, throws even more errors.

Also:
CSS: label: Property label doesn't exist. at <input class="" style="label:input;color:inherit;background:0;opacity:1;width:100%;grid-area:1...

Thanks and please.

Using version 5.8.0.

@vctrklndr vctrklndr added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

1 participant