RE: [WSG] best formatting for alt text

2010-11-15 Thread Ted Drake
There was a description of using creative styles a few years ago. I think it 
was part of building bullet proof web sites.
The theory is that if you had an image with text (fancy header), it would be 
nice to still have some styles associated with the text that is displayed if 
the image is broken or turned off. So the markup was
h1img src=header-with-text.png alt=this is my header/h1

Now the CSS would offer some styles to the H1 so the text had some nifty 
colors, fonts, etc. 

Ted

-Original Message-
From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On 
Behalf Of Stuart Foulstone
Sent: Saturday, November 13, 2010 4:06 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] best formatting for alt text


Or rather, start with the the semantic structure of the page, then insert
the image into the structure appropriately.


On Sat, November 13, 2010 1:46 am, Christian Montoya wrote:
 On Fri, Nov 12, 2010 at 8:36 PM, Patrick H. Lauke
 re...@splintered.co.uk wrote:
 On 13/11/2010 01:23, cat soul wrote:

 Right..I noticed this while playing around, and I wondered whether it
 represents an opportunity by making sure that it has some desired
 formatting, or whether those who rely upon alt information just want
 normal, smallish text.

  so if the image was, for instance, a heading (not doing any
 css image replacement, just putting straight images in the markup), then
 obviously the entire image would be wrapped in the appropriate heading
 element.

 Hear, hear. If you are using images for text, you should still wrap
 them semantically.

 --
 --
 Christian Montoya
 mappdev.com :: christianmontoya.net


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-13 Thread Stuart Foulstone

Or rather, start with the the semantic structure of the page, then insert
the image into the structure appropriately.


On Sat, November 13, 2010 1:46 am, Christian Montoya wrote:
 On Fri, Nov 12, 2010 at 8:36 PM, Patrick H. Lauke
 re...@splintered.co.uk wrote:
 On 13/11/2010 01:23, cat soul wrote:

 Right..I noticed this while playing around, and I wondered whether it
 represents an opportunity by making sure that it has some desired
 formatting, or whether those who rely upon alt information just want
 normal, smallish text.

  so if the image was, for instance, a heading (not doing any
 css image replacement, just putting straight images in the markup), then
 obviously the entire image would be wrapped in the appropriate heading
 element.

 Hear, hear. If you are using images for text, you should still wrap
 them semantically.

 --
 --
 Christian Montoya
 mappdev.com :: christianmontoya.net


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] best formatting for alt text

2010-11-12 Thread cat soul

Hello;

I am assuming that alt text will be heard and not read. If this is  
so, it need only be there and could be any size, correct?


How do people handle alt? format it with h6 and call it good?

thanks for any advice!

cs


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-12 Thread Hassan Schroeder

On 11/12/10 4:23 PM, cat soul wrote:


I am assuming that alt text will be heard and not read.


?? Why?


How do people handle alt? format it with h6 and call it good?


You seem confused; alt is an attribute of the IMG tag, and H6 is
a member of a semantic hierarchy of headers, certainly not a visual
formatting device.

Why are you concerned about alt text formatting?

--
Hassan Schroeder - has...@webtuitive.com
webtuitive design ===  (+1) 408-621-3445   === http://webtuitive.com
twitter: @hassan
  dream.  code.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-12 Thread Janice Schwarz
Alt text is not formatted. You just have alt=your description here. And
that's it.

Janice


On Fri, Nov 12, 2010 at 6:23 PM, cat soul cats...@thinkplan.org wrote:

 Hello;

 I am assuming that alt text will be heard and not read. If this is so, it
 need only be there and could be any size, correct?

 How do people handle alt? format it with h6 and call it good?

 thanks for any advice!

 cs





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] best formatting for alt text

2010-11-12 Thread Oliver Boermans
On 13 November 2010 11:33, Janice Schwarz jan...@geekartist.net wrote:
 Alt text is not formatted. You just have alt=your description here. And
 that's it.
 Janice

 On Fri, Nov 12, 2010 at 6:23 PM, cat soul cats...@thinkplan.org wrote:

 Hello;

 I am assuming that alt text will be heard and not read. If this is so, it
 need only be there and could be any size, correct?

Alt text does become visible when the image has yet to, or has failed,
to load. In which case it is most certainly worthy of consideration. I
believe (in most browsers?) this text will inherit any font attributes
assigned to the IMG tag or it’s parents.

On the other hand you have absolutely no control over the display of
the title attribute. It doesn’t even increase in size when fonts are
enlarged!

Ollie
@ollicle


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-12 Thread cat soul


On Nov 12, 2010, at 5:15 PM, Oliver Boermans wrote:


Alt text does become visible when the image has yet to, or has failed,
to load. In which case it is most certainly worthy of consideration. I
believe (in most browsers?) this text will inherit any font attributes
assigned to the IMG tag or it’s parents.


Right..I noticed this while playing around, and I wondered whether it  
represents an opportunity by making sure that it has some desired  
formatting, or whether those who rely upon alt information just want  
normal, smallish text.



cs

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-12 Thread Patrick H. Lauke

On 13/11/2010 01:23, cat soul wrote:

Right..I noticed this while playing around, and I wondered whether it
represents an opportunity by making sure that it has some desired
formatting, or whether those who rely upon alt information just want
normal, smallish text.


those who rely on alt would roughly fall into two categories: users of 
assistive technology (blind/partially sighted) and those users who 
knowingly turned off image loading. for the first group, visual 
formatting will be irrelevant - just make sure the image is contained in 
the most logical parent block - so if the image was, for instance, a 
heading (not doing any css image replacement, just putting straight 
images in the markup), then obviously the entire image would be wrapped 
in the appropriate heading element. for the latter group, again the alt 
will be usually formatted the same way as text in the same place would 
be, so the previous also applies (e.g. if it's a heading, wrap it as a 
heading). you could, if you wanted to, go beyond that and explicitly 
style text properties on the img element in your css, but i don't think 
there's any real need for it provided that the alt makes sense in context.


P
--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]

www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com | http://flickr.com/photos/redux/
__
twitter: @patrick_h_lauke | skype: patrick_h_lauke
__


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] best formatting for alt text

2010-11-12 Thread Christian Montoya
On Fri, Nov 12, 2010 at 8:36 PM, Patrick H. Lauke
re...@splintered.co.uk wrote:
 On 13/11/2010 01:23, cat soul wrote:

 Right..I noticed this while playing around, and I wondered whether it
 represents an opportunity by making sure that it has some desired
 formatting, or whether those who rely upon alt information just want
 normal, smallish text.

  so if the image was, for instance, a heading (not doing any
 css image replacement, just putting straight images in the markup), then
 obviously the entire image would be wrapped in the appropriate heading
 element.

Hear, hear. If you are using images for text, you should still wrap
them semantically.

-- 
--
Christian Montoya
mappdev.com :: christianmontoya.net


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***