Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/Performance/Animation_performance_and_frame_rate
What specific section or headline is this issue about?
What information was incorrect, unhelpful, or incomplete?
Following line of CSS is causing images with transparency being nearly unreadable (in this case)
.main-page-content img {background: #fff}
If images are not loaded/found, the alt text is not visible either (dark theme)...
The border property within this rule looks also weird in this case, but this might be a global design decision.
What did you expect to see?
The images are readable without the white background (also the alt text in dark mode).
The white background probably had or has some purpose; or maybe not?
I don't know what's the best solution here. Just adapting the images? But of course it can be that this problem occurs with other images as well...
The (font) color should also be set, if a background property is present?
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
without the background set to white:
MDN metadata
Page report details
- Folder:
en-us/web/performance/animation_performance_and_frame_rate
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/Performance/Animation_performance_and_frame_rate
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/performance/animation_performance_and_frame_rate/index.md
- Last commit: 6bff95b
- Document last modified: 2023-02-24T06:17:52.000Z