[TYPO3-content-rendering] HTML5 longdesc is back

Thomas Skierlo tsk at pix-pro.eu
Tue Sep 10 16:37:02 CEST 2013


Hi everybody,

It once was obsolete, but now is back in (July 2013 version of) HTML5. longdesc.

Current css_styled_content has a very strange construct, overriding image parameters by an "aria-describedby" property, which depends on the existance of a caption as well as a longdescURL. If a longdesc is available, the caption will be linked to the longdescURL.

Well, at least it is a behaviour  but not the one to expect.

A longdesc has no relation at all to a caption. Both may exist alone or they may come in pairs.
A longdesc should not be used for any rendering of real links. Screen readers and browsers know how to render the longdesc. If links are needed within the caption, they should be entered as links.

Next thing is the "override" of image parameters. Shouldn't this be an "append" instead? This override kills every image parameter an admin has added via setup, so the override must be modified too.

While "aria-describedby" does no harm to any semantics, it's absolutely not needed inside a figure and figcaption construct. Since longdesc can be used for local anchors on the same page as well as internal or external links, it's better suited for any related long textual information.

My final question: longdescURL Flexform field is disabled by default in current TYPO3 6.1.3. Is there a reason for disabling it, like "doesn't work with FAL" or "doesn't localize" or so?

Regards,

Thomas


More information about the TYPO3-project-content-rendering mailing list