[TYPO3-content-rendering] HTML5 longdesc is back

Patrick Broens patrick.broens at typo3.org
Wed Nov 6 14:27:53 CET 2013


Hi Thomas

Just to inform you: The longdesc attribute apparently did not make it
into W3C Candidate Recommendation 6 August 2013. Looking at the img tag
in HTML5, the attribute is not listed.

http://www.w3.org/TR/2013/CR-html5-20130806/embedded-content-0.html#the-img-element

Cheers,

Patrick

On 10-9-13 16:37 , Thomas Skierlo wrote:
> 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


-- 
Patrick Broens
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


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