This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7537 - TranscodingActionResizeImg: removed images should be replaced by their alt tag
Summary: TranscodingActionResizeImg: removed images should be replaced by their alt tag
Status: REOPENED
Alias: None
Product: mobileOK authoring tools
Classification: Unclassified
Component: Transcoding (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Sylvain Lequeux
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 17:17 UTC by fd
Modified: 2009-09-11 15:52 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-09-07 17:17:47 UTC
The alt attribute on an img tag is meant to be displayed when the image cannot be displayed. The transcoding action purely drops the img tag when the image format is not supported. It should replace the tag by some <span>foo</span> where foo is the value of the alt attribute of the removed img tag.
Comment 1 fd 2009-09-11 15:52:23 UTC
The alt value is correctly used when the requesting device supports no image format at all, but not in the less restrictive case where one particular image type is not supported.

see added TODO in the latest version of the file in CVS.