Re: Possible Solution to Text as Graphics

This should be done as follows:

<h1><img src="ddd" alt="real text" /></h1>

This already works in browsers like Lynx, but most graphical browsers keep an
image placeholder of the same size as the image, and just use a default
system font for rendering alt text.

Cheers

Charles

On Fri, 3 Nov 2000, Ben Morris wrote:

  Perhaps this is a bit too theoretical to be of much use, but I have thought
  of a possible compromise for using images to represent text.
  
  To designers, using style sheets is not a true substitute for using an image
  file to display text.  And the reverse is true for HTML purists.  So perhaps
  we could have the best of both worlds...
  
  Adding an attribute to the image tag could help define the image as text,
  which would still define the "meaning" of the piece of information such as:
  
  <img src="abc.gif" alt="Contact Us" equivalent="h1" height=...>
  
  Browsers could display the image for this element if the user has images
  turned on, or could render the alternative being:
  <h1>Contact Us</h1>
  
  This would be an improvement for accessibility and designers.  Designers
  wouldn't have thier design destroyed if someone turns off images, and other
  users would be delivered more meaningful content.
  
  Just my $.02
  
  -Ben Morris
  

-- 
Charles McCathieNevile    mailto:charles@w3.org    phone: +61 (0) 409 134 136
W3C Web Accessibility Initiative                      http://www.w3.org/WAI
Location: I-cubed, 110 Victoria Street, Carlton VIC 3053, Australia
September - November 2000: 
W3C INRIA, 2004 Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France

Received on Friday, 3 November 2000 10:29:46 UTC