lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Adding ALT text to an image
Date Fri, 09 Jul 2004 10:44:24 GMT
Wolfgang Kaltz wrote:

>Gregor J. Rothfuss <gregor <at> apache.org> writes:
>
>  
>
>>Christian Egli wrote:
>>
>>    
>>
>>>>+1 to get ALT attributes editable by default. Please file a bugzilla bug
>>>>if possible. 
>>>>        
>>>>
>>>afaik the title attribute is used as the alt tag.
>>>      
>>>
>>yes because the object tag we use for images has no alt atrribute. the 
>>mapping is title -> alt in the xslt iirc.
>>
>>    
>>
>
>Actually, in the XSLT file of the default publication it is looking up the 
>attribute "name", not "title". If there is no attribute "name", if uses 
>"dc:metadata/dc:title"
>(xhtml2xhtml.xsl, line 83)
>
>If you insert an image using BXE, both these values are empty.
>If I replace "name" by "title", it's OK (because the attribute title does
>contain the title provided by the user).
>
>Should I file a bug ? (i.e. should there actually be a "name" attribute,
>or should it be replaced by "title") ?
>
>
>  
>

Yes, please fill a bug!

Thanks for that info!

Why not using alt directly? 

thorsten

-- 
Thorsten Scherler



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Mime
View raw message