Project

General

Profile

Actions

Bug #15526

closed

Image caption as image alt

Added by John Angel almost 19 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-01-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There should be constant to render image caption as image alt, when alt is empty.

Default value should be 'true'.

(issue imported from #M2423)

Actions #1

Updated by Administrator Admin almost 19 years ago

Please not!
alt text is meant as a substitute for information which is give by the image contents. If there is a caption there is no sense in doubling it as an alt text.
No additional information is given and it is very anoying to screenreader users - the get all the text read twice!

If there is a constant (I dont't think its needed) default should be 'false'!

Actions #2

Updated by John Angel almost 19 years ago

Alt image would boost the ranking on search engines.

There would be no doubling of information if feature #0002424 is implemented, too.

Actions #3

Updated by Ernesto Baschny over 18 years ago

This can already be done in TYPO3 4.0, since processing of alt/title/caption are all controlled through TypoScript (cObject and stdWrap). For example this is the cObject that will get added in the altText element for each image:

tt_content.image.20.1.altText

just try something like "isEmpty" property to attach the (splitted) caption at that part if its empty. I think some TypoScript wizard will be able to produce some bright TS-code to do that.

Actions #4

Updated by Ingmar Schlecht over 18 years ago

As this feature is already possible as Ernesto showed, I'm closing this bug report now.

Actions

Also available in: Atom PDF