Accessibility question about Cards

let's say I have a page with many card components. In regards to accessibility, would it be bad practice to attach a tabindex=0 to the div wrapping the entire card to allow users to tab stop over each card and have a screen reader describe the card? I know putting tabindex on no-interactive elements is bad, so would I just want to listen for a space & enter keyboard event to "click" the card to make it proper accessibility? maybe I don't need to do this at all and trust screen reader users will navigate using the h2 tags inside the cards?
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Web Dev Cody
Web Dev CodyOP3y ago
ty good read
Want results from more Discord servers?
Add your server