Closed jmdrawneek closed 11 months ago
Hi!
There’s currently no <button>
element used. Can you clarify what you mean?
Hey @luukdv - even setting a div to role button means the content needs to be an element from that list. Its a very minor change but makes linters happy.
Interesting! Can you link to the linter config that warns for this? Would be helpful for me to be able to test as well.
Currently you're using divs in buttons which isnt valid html.
Check out - Permitted content
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button