What fresh hell is THIS now? - Patrick Lauke
<nav role="navigation">
considered an antipattern? I recall @stevefaulkner saying something about that.
div
is also an opion
aria-label
would improve?
So 2 choices from what I can see
1) add the role, spec be damned, support as much as possible
2) use div
with role
instead
role=drinks
!
definition
but it still says 'button' at the end
aria-labelledby
instead of aria-label
on the same div, pointing to the id of the div of the hi
hi
or whatever name it is pointed to
<section aria-labelledby="myid"> <h2 id="myid">card name</h2> <p>some more text in the card</p> <button aria-describedby="myid">button1</button><button aria-describedby="myid">button2</button></section>