473,668 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is image replacement recommended?

Hello,

At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn't a good idea as it has accessibility problems.

What is the recommendation? The idea is attractive, but I don't want to
sacrifice accessibility for eye candy. TIA

--
Alan Silver
(anything added below this line is nothing to do with me)
Apr 4 '06 #1
16 1567
Alan Silver wrote:
At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn't a good idea as it has accessibility problems.

What is the recommendation?


Depends on who you ask. I'm yet to see a CSS replacement solution that
doesn't have serious accessibility issues. JavaScript solutions leave users
with text that doesn't resize cleanly (PNG doesn't beat TrueType when it
comes to scaling ;).

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Apr 4 '06 #2
Alan Silver wrote:

At one time, image replacement was recommended as being a good way to
have well structured markup, whilst giving the user something pleasant
visually. However, I have seen a few articles recently saying that it
isn't a good idea as it has accessibility problems.


Image replacement came about, not because of structured markup, but
because it was deemed better for search engines, many of which don't
index alt text. There aren't really any accessibility problems using
<img> elements with proper alt text.

Use eye candy if you want, just be aware of the consequences and
consider what your target audience needs first. Note that your target
audience is not usually search engines, at least not first and foremost.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Apr 4 '06 #3
kchayka <us****@c-net.us> wrote:
There aren't really any accessibility problems using
<img> elements with proper alt text.


Apart from the rather fundamental issue that images don't normally scale
to the user's situation, and when specifically coded to do so the effect
is ugly due to browser image resizing, thereby defeating the original
reason for using images of text: prettier text.

--
Spartanicus
Apr 4 '06 #4

On Tue, 4 Apr 2006, kchayka wrote:
There aren't really any accessibility problems using
<img> elements with proper alt text.
I've been annoyed, ever since the wretched <img...> tag was introduced
as a proprietary extension, that it had been so badly designed.

The limitations on an attribute value string, relative to real bona-
fide HTML element content, are just maddening. As I said just moments
ago in another posting: that had been recognised at least as early as
the HTML/3.0 drafts, leading first to the <fig...> proposal, which
later became the W3C part of the <object...> specification. That
could have flown, if it hadn't been sunk by enemy action.
Use eye candy if you want, just be aware of the consequences and
consider what your target audience needs first. Note that your
target audience is not usually search engines, at least not first
and foremost.


Well, if readers can't find their way to the content, it's not a lot
of use to them. So I'd rate search engine access "first", although
maybe not "foremost". SCNR.

Apr 4 '06 #5
Spartanicus wrote:
kchayka <us****@c-net.us> wrote:
There aren't really any accessibility problems using
<img> elements with proper alt text.


Apart from the rather fundamental issue that images don't normally scale


Hey, I'm the first to complain when a stoopid deezyner uses an 8px type
size in graphics. Regardless, the issue you raise is not about
accessibility so much as usability. Two different things, though both
are important.

Either way, a clueful designer is not only likely to be more conscious
of type size, but also more conscious of the specific alt text on those
graphics. Disable images and the site will still be usable.

Seems to me the person who posed the question wants to be in the clueful
group, not the stoopid group. Knowing the facts will help him make
better decisions, methinks.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Apr 4 '06 #6
kchayka <us****@c-net.us> wrote:
There aren't really any accessibility problems using
<img> elements with proper alt text.
Apart from the rather fundamental issue that images don't normally scale


Hey, I'm the first to complain when a stoopid deezyner uses an 8px type
size in graphics. Regardless, the issue you raise is not about
accessibilit y so much as usability.


Non scaling text is first and foremost an accessibility issue. The
problem manifests itself by not adapting to the user's settings, not
just when a user tries to vary the text size.
Two different things, though both
are important.

Either way, a clueful designer is not only likely to be more conscious
of type size, but also more conscious of the specific alt text on those
graphics. Disable images and the site will still be usable.


Amongst average users few would know how to disable images, even fewer
would be aware that doing so could make certain texts legible.

--
Spartanicus
Apr 4 '06 #7
In article <49************ @individual.net >, kchayka <us****@c-net.us>
writes
Image replacement came about, not because of structured markup, but
because it was deemed better for search engines, many of which don't
index alt text. There aren't really any accessibility problems using
<img> elements with proper alt text.


No, but there is still a structural issue. If you have a page heading,
and put it in an <h1> tag, then structurally it is considered a header,
even if you replace it with an image in CSS. If you use an <img> tag,
then there is no structural indication of it being a header.

Maybe this is more to do with search engines than accessibility though.

--
Alan Silver
(anything added below this line is nothing to do with me)
Apr 5 '06 #8
In article <49************ @individual.net >, kchayka <us****@c-net.us>
writes
Seems to me the person who posed the question wants to be in the
clueful group, not the stoopid group. Knowing the facts will help him
make better decisions, methinks.


Well, it's the first time I've not been called stoopid (or some other
epithet) for a while!!

Yes I want to do it right, but I also want to make it pretty. I guess it
is unlikely I'll be able to do both. Thanks to all for the replies, it's
been interesting reading, and has made me think carefully about why I
even want to do it in the first place.

--
Alan Silver
(anything added below this line is nothing to do with me)
Apr 5 '06 #9
Alan Silver <al*********@no spam.thanx.inva lid> writes:
In article <49************ @individual.net >, kchayka <us****@c-net.us>
writes
Image replacement came about, not because of structured markup, but
because it was deemed better for search engines, many of which don't
index alt text. There aren't really any accessibility problems using
<img> elements with proper alt text.


No, but there is still a structural issue. If you have a page heading,
and put it in an <h1> tag, then structurally it is considered a
header, even if you replace it with an image in CSS. If you use an
<img> tag, then there is no structural indication of it being a header.


<h1><img src="..." alt="..." ...></h1>

(Still doesn't solve the search engine issue, of course, but I think
image replacement techniques are the wrong approach for that too)

--
Chris
Apr 5 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
4941
by: Kerberos | last post by:
I followed Dan Cederholm's image replacement tutorial, to replace a header tag by a logo. The h1 is clickable if no CSS is applied but it I replace it by the logo, the area isn't clickable anymore when I pass the mouse over the logo. Is there a way to replace a link by an image that will still be clickable? Thanks, -- Kerberos.
16
2537
by: David W. Fenton | last post by:
I have an app for a client (Access97, all the final service releases and Jet service packs, full installation (not runtime)), that displays a graphic in an image control based on a path/filename stored in a field in a data table. It works just great on my PC for BMP, GIF and JPG. But on the client's PC, JPG doesn't work (dunno if GIF works or not -- didn't try it; BMP does work). I wrote to Larry about this and he hasn't any...
12
2573
by: Charlie King | last post by:
As I understand it, the use of FIR* to replace heading tags with images in visually enabled CSS browsers is now frowned upon on the basis that some screen readers will *nor* read back text that is marked up by CSS to be invisible or hidden. So... If I want to replace headings with images (because my client wants to use his specific font for headings where possible), what's the best way to do it?
10
5755
by: byrd48 | last post by:
Hi, I haven't had much luck searching for guidance on the following challenge. I have a .NET app in which I would like to take multiple thumnail images and combine them into one flat image. Could someone give me an example of how to take two images, imgA and imgB and create imgC which would be one image of imgA and imgB side by side or imgA on top of imgB. If both imgA and imgB are 10pixels x 10 pixels, the side by side version of imgC...
15
2745
by: Alan Silver | last post by:
Hello, I am trying to do a simple (ha ha) bit of image replacement, so that the 'v' in a string of text inside an <h3> is replaced with an image of a tick that looks like a 'v' to fit with a company logo (imagine "Ferretweave" with the 'v' replaced by a tick instead of the letter). I have tried various things, but have not had any success yet, mainly because all of the IR techniques I have seen seem to depend on the element that...
1
1821
by: rajbala.3399 | last post by:
Hai all, I need to get multiple image buttonsand wheni click on the image button it should display corresponding image on window and if i click another image button it is also display on same window without replacement of previously displayed image. For exampe,
6
7225
by: Rob | last post by:
Hello, I'm sure this has come up before. I have need for a collection of all elements/objects in an HTML document that have any kind of an attribute (HTML or CSS) that is making use of a URL to display an image. document.images only seems to reference image tags. The collection needs to include background images, input type = image, image maps, css assigned background, etc. Honestly, I am probably not aware of all the possibilities...
1
3141
by: rsteph | last post by:
I've got some product information pages, with images and text, all setup within a table. I'm trying to add a small image in the upper right hand corner of the content div (where all the important information is). I've got the product name at the top, left aligned and typically as a two lined header, and I'd like to add a small logo to the right of that, either right beside it, or in the far right corner. could anyone help me with how to set...
1
3387
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. The problem is when it creates transparent PNG format image then and it pixel ate the image. e.g. If i am using a gradient in background then it vary in color range. Now when i used that php script it generates image successfully but it pixel ate...
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.