a11yTips — Include decorative images using CSS




Include decorative images using CSS

Make sure decorative images are embedded using CSS and not HTML markup

One of the ways through which CSS improves accessibility for people with disabilities is by allowing authors to add decorative images and images used exclusively for visual formatting to pages without requiring additional HTML markup within the content. This not only results in a cleaner separation between the presentation and structure layers, it also makes for a more streamlined code base. Embedding images and other visual elements using CSS guarantees that assistive technologies will be ignoring that content. As long as these images are [...]


5 stars; 90.3% of tests passed. [Note: this rating is a work in progress.]
Level ALevel AALevel AAAUnique

Error data courtesy of Tenon.io