Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dialog elements can never be fully validated because the role is both required and should not be included at the same time.
Error with role (<dialog role="dialog">): Warning: The dialog role is unnecessary for the element.
<dialog role="dialog">
Error without role (<dialog>): Error: The dialog element is missing the required attribute role.
<dialog>
I would state that it cannot be "unnecessary" if it is required.
The text was updated successfully, but these errors were encountered:
curious. have a markup snippet to share? I ran the below markup in the text input option for the validator and received no error.
<!DOCTYPE html> <html lang=""> <head> <title>Test</title> </head> <body> <dialog>foo</dialog> </body> </html>
Sorry, something went wrong.
No branches or pull requests
Dialog elements can never be fully validated because the role is both required and should not be included at the same time.
Error with role (
<dialog role="dialog">
):Warning: The dialog role is unnecessary for the element.
Error without role (
<dialog>
):Error: The dialog element is missing the required attribute role.
I would state that it cannot be "unnecessary" if it is required.
The text was updated successfully, but these errors were encountered: