It's currently very difficult to get "into" the modal context when browsing web embeds. Also, none of our cards are selectable b/c they use divs.
✏️ Solution
Refactoring to use <as looked like an uphill slog with potentially backwards incompatible changes, so I opted to add the correct aria roles to our a/divs. Let's not make this mistake on new-web 😅
🐛 Issue
It's currently very difficult to get "into" the modal context when browsing web embeds. Also, none of our cards are selectable b/c they use divs.
✏️ Solution
Refactoring to use
<a
s looked like an uphill slog with potentially backwards incompatible changes, so I opted to add the correct aria roles to our a/divs. Let's not make this mistake on new-web 😅🔬 To Test
1.Open our web embeds tester
Poke around with voiceover on.
📸 Screenshots
https://github.com/user-attachments/assets/2f972dad-b4fe-41c3-b2f1-7425835af237