|
|
|
|
|
by AbsoluteDestiny
2196 days ago
|
|
Be careful when using semantic elements purely for presentation purposes. For instance, the <aside> element gives the element a landmark role 'complimentary' telling assistive devices that this is not part of the main content. That's not really true for your cards, though, they are part of the content. Also, having multiple complimentary landmarks in the same context (main, footer) is really confusing. Having 3 <aside> elements next to each other would be like having three <header> elements next to each other. |
|
I think there doesn't need to be a distinction
Edit: I didn't notice the bit about accessibility, I need to educate myself about this but the next release will fix any weird roles.
Usually when debugging accessibility things I turn on the screen reader and hear how the site feels as I navigate around. I'll definitely do this before each release going forward.