Skip to content

awhite.ca

Cambridge area web developer

Tag Archives: tip

Using :before for more accessible CSS sprites

A quick tip for improving the accessibility of CSS sprites: instead of using sized backgrounds, use the :before pseudoelement. Sprites added with :before will still show up in Windows high-contrast mode, whereas backgrounds are eliminated.

Posted byAndrewMarch 10, 2015Posted inWeb DevelopmentTags: accessibility, tip
awhite.ca, Proudly powered by WordPress.