You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Dev's will commonly use <div> elements for buttons when they should be using <button> elements instead.
Describe the solution you'd like <div onclick="doStuff()"> should trigger an error different to the typical "Use Semantic HTML5 or specify a WAI-ARIA role [role=""]" warning.
It should say something like "Use a <button> element instead of a <div> element for interactive controls."
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Dev's will commonly use
<div>
elements for buttons when they should be using<button>
elements instead.Describe the solution you'd like
<div onclick="doStuff()">
should trigger an error different to the typical "Use Semantic HTML5 or specify a WAI-ARIA role [role=""]" warning.It should say something like "Use a
<button>
element instead of a<div>
element for interactive controls."The text was updated successfully, but these errors were encountered: