What is Bad About CSS Sprites?
CSS Sprites have changed the way we think about website performance efficiency, but we should not be using them on every graphic and here is why:
1. Accessibility How are you going to set alt tags to background images? You can't! Screen reader users will hate you if you use background images for all your graphics just to save some seconds on page load. Being hated is bad.
2. Printing Core graphics should not be CSS Sprites because background images are not shown when printing.
In short, CSS Sprites are great for banners, rounded corners, drop shadows, certain icons, and certain buttons. But be careful how you use them. They should not be used everywhere.Labels: accessability, css, sprites
CSS Sprites have changed the way we think about website performance efficiency, but we should not be using them on every graphic and here is why:
1. Accessibility How are you going to set alt tags to background images? You can't! Screen reader users will hate you if you use background images for all your graphics just to save some seconds on page load. Being hated is bad.
2. Printing Core graphics should not be CSS Sprites because background images are not shown when printing.
In short, CSS Sprites are great for banners, rounded corners, drop shadows, certain icons, and certain buttons. But be careful how you use them. They should not be used everywhere.
Labels: accessability, css, sprites

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home