a11yTips — Include decorative images using CSS

document.write(‘

Loading…

‘);

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 [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories: , Terms: , , , , , , Keywords:

Accessibility


5 stars; 90.3% of tests passed.
Errors
Level ALevel AALevel AAAUnique
50485680

Error data courtesy of Tenon.io

Read article at dboudreau.tumblr.com