DEV Community

Discussion on: Accessibility Best Practices for HTML & CSS

Collapse
 
grahamthedev profile image
GrahamTheDev

Read this article earlier, didn't have time to comment and say it was really thorough then though! Loved it!

One quick one (sorry, it is my thing to find accessibility errors! 🤣) but as your cover image isn't actually a cover image it could do with some alt text (or changing to a cover image as at least that is a known issue on DEV that you can't add alt text to cover images).

You already have a ❤ and a 🦄 from me, sadly can't add more than one of each!

Collapse
 
brittneypostma profile image
Brittney Postma

Awesome, thank you so much. I agree with the cover image. I should add some alt text and the reason I don't use it as a cover image is they don't transform it to the right resolution when it's shared. I had another post that I did their resolution for the cover and it was stretched and cut off on Twitter.

Collapse
 
brittneypostma profile image
Brittney Postma

Updated the alt text, thanks for pointing that out

Collapse
 
grahamthedev profile image
GrahamTheDev

Yeah cover images are strange on DEV, I haven't understood the logic behind making them a fixed height as they don't align with anything, other than perhaps to avoid layout shifts and CLS?