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
"When possible, use native heading mark-up directly. For example, it is preferable to use <h1> rather than using <div role="heading" aria-level="1">"
<h1>
<div role="heading" aria-level="1">
It would be great to use semantically correct markup instead of relying on aria attributes.
Likewise, <div role="button" tabindex="0">" could just be <button>.
<div role="button" tabindex="0">"
<button>
This is how the accordion example on w3.org is set up.
The text was updated successfully, but these errors were encountered:
I believe this was done intentionally to avoid inheriting any styles, but I see your point.
Sorry, something went wrong.
Duplicate of #322
No branches or pull requests
"When possible, use native heading mark-up directly. For example, it is preferable to use
<h1>
rather than using<div role="heading" aria-level="1">
"It would be great to use semantically correct markup instead of relying on aria attributes.
Likewise,
<div role="button" tabindex="0">"
could just be<button>
.This is how the accordion example on w3.org is set up.
The text was updated successfully, but these errors were encountered: