Hey all,

First of all isn't ALT an attribute not a TAG?

> 1.  When should one use an empty tag?  

I don't think you should empty attribute to start with, its all noted
down in your DTD if you open it up for example the strict.dtd and search
through you'll find this paragraph 

<!--
   To avoid accessibility problems for people who aren't
   able to see the image, you should provide a text
   description using the alt and longdesc attributes.
   In addition, avoid the use of server-side image maps.
   Note that in this DTD there is no name attribute. That
   is only available in the transitional and frameset DTD.
-->

<!ELEMENT img EMPTY>
<!ATTLIST img
  %attrs;
  src         %URI;          #REQUIRED
  alt         %Text;         #REQUIRED
  longdesc    %URI;          #IMPLIED
  height      %Length;       #IMPLIED
  width       %Length;       #IMPLIED
  usemap      %URI;          #IMPLIED
  ismap       (ismap)        #IMPLIED
  >


> What is the recommended syntax of the empty tag?

Why would you have an empty attribute, just write something inside it if
you already took the time to add the attribute.

M. Jama

big:interactive
91 Princedale Road
Holland Park
London W11 4NS
Email: [EMAIL PROTECTED]
Direct: +44 (0)20 7313 2262
www.biggroup.co.uk

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Designer
Sent: 11 September 2007 09:43
To: wsg@webstandardsgroup.org
Subject: [WSG] Speaking of alt tags . . .

Hi all,

What is the current wisdom about the syntax of alt tags?  I believe that

if I have a decorative image I am supposed to put a blank tag. But I've 
also been told that the tag should be alt="  ", NOT alt="", because with

no spaces (or one) the screen reader will announce 'blank' whereas with 
two spaces it remains silent.  Other folk have said that logo's etc 
should have a descriptive alt tag whereas some say  a blank should be 
used.  Google answers vary somewhat.

So, in summary, my questions are:

1.  When should one use an empty tag?  and, more importantly,
2.  What is the recommended syntax of the empty tag?

Thanks,
-- 
Bob

www.gwelanmor-internet.co.uk



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to