Suppose I want to replace the > link with a fantastic image arrow. For this, I want to use a CSS sprite.
In many articles, such as a recent (2012) article in Smashing Magazine , the recommended method looks something like this:
However, this method is problematic in terms of accessibility: if images are disabled, but CSS is interpreted, then the specified link will be invisible.
Interestingly, I found an old article (2010) of the Paciello Group article , which suggests what looks like a good solution. The idea is to place a <span> next to the text to be replaced. <span> has a background image and is placed on top of the text. If the image is loaded, it replaces the text, otherwise the text remains visible.
Why is this method not widely used? Are there any problems with this solution?
source share