W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: alt and authoring practices

From: Steve Axthelm <steveax@pobox.com>
Date: Fri, 18 Apr 2008 12:41:32 -0700
To: Karl Dubost <karl@w3.org>, public-html@w3.org
Message-ID: <r245ps-1052i-9AA5FE3B0C49486689CCA0D2FE72169E@MBP.local>

On 2008-04-17 Karl Dubost <karl@w3.org> wrote:

>
>Le 17 avr. 2008 à 23:18, Jim Jewett a écrit :
>>alt="", not so much -- there are too many tools and templates that put
>>that in as a default when you don't go out of your way to change
>>things.
>
>
>do you know some of the tools which do that to document it somewhere.
>thanks

A start...here's the behavior of a few authoring tools (all 
using default configurations):

BBEdit (Macintosh):
     Dragging an image into an html document window results in the
     "Image Drop Options" Dialog[1] (Insert Empty Alt Text 
checkbox is
     ticked by default.) Accepting the default results in:
     <img src="path/image-name.gif" alt="">.

TextMate (Macintosh):
     Dragging an image into an html document window results in:
     <img src="path/image-name.ext" alt="image-name">

Dreamweaver CS3 (Macintosh):
     Clicking the "Images: Image" button brings up a file dialog to
     locate the image you wish to insert. After selecting an 
image you
     are presented with the"Image Tag Accessibility Attributes"
     dialog[2]. The popup menu for Alternate Text has one entry by
     default: <empty>[3] which results in alt="". This dialog 
provides a
     link to the Accessibility Preferences[4]. Just "OKing" through
     results in:
     <img src="path/image-name.ext" />

Sandvox (Macintosh):
     Dragging an image from the "Media Browser" to a template 
results in:
     <img src="path/image-name.ext" alt="image-name" />

Pagespinner (Macintosh):
     Clicking the "Insert and Image" button brings up the HTML Assistant
     window[5]. If you do not supply alt text you are presented with
     another dialog[6]. You cannot procede without entering alt text.

UltraEdit (Windows):
     Clicking the "HTML Image Button" results in:
     <img src="#INSERTION#">

Visual Studio 2005 (Windows):
     Dragging an image into a document window in "Designer" or "Code"
     view results in:
     <img src="path/image-name.ext" />

Visual Studio 2008 (Windows):
     Dragging an image into a document window in "Designer" or "Code"
     view results in:
     <img src="path/image-name.ext" />



[1] http://pangram.org/w3/bbedit-insert-image.png
[2] http://pangram.org/w3/DW-image-tag-accessibility-attributes.png
[3] http://pangram.org/w3/DW-image-tag-accessibility-attributes-empty.png
[4] http://pangram.org/w3/DW-accessibility-preferences.png
[5] http://pangram.org/w3/pagespinner.png
[6] http://pangram.org/w3/pagespinner-alert.png


HTH,

-S

-Steve

-- 
Steve Axthelm
steveax@pobox.com
Received on Friday, 18 April 2008 19:42:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:16 GMT