3 ms·
Decorative images should be in your style sheet, not the html document. I know this purity isn't always possible with every design, but if you care about blind
by globular-toast 6y ago
Decorative images should be in your style sheet, not the html document. I know this purity isn't always possible with every design, but if you care about blind readers you'll change your design, I guess.
- srtjstjsj 6y agoHuh? Decoration is for humans and doesn't fit the robotic split of content vs presentation.
- globular-toast 6y agoYes? The whole style sheet is for humans. Specifically, sighted humans. Blind users have no use for any of that.
- darekkay 6y ago> Decorative images should be in your style sheet, not the html document. Similar to the discussion around functional CSS [1], HTML vs. CSS is a separation of technologies, not a separation of concerns. Neither approach is _wrong_, they just come with different trade-offs. [1] https://adamwathan.me/css-utility-classes-and-separation-of-concerns/ https://adamwathan.me/css-utility-classes-and-separation-of-...