DEV Community

Discussion on: Accessibility Best Practices for HTML & CSS

Collapse
brittneypostma profile image
Brittney Postma Author

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 Author

Updated the alt text, thanks for pointing that out

Collapse
inhuofficial profile image
InHuOfficial

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?