[TYPO3-content-rendering] Image longdesc attribute in HTML5

Patrick Broens patrick at patrickbroens.nl
Mon Aug 8 15:21:11 CEST 2011


On 8-8-11 15:05 , Steffen Ritter wrote:
> Am 08.08.2011 14:41, schrieb Patrick Broens:
>> There's also another solution which I'm using in hype_html5:
>>
>> <snip>
>>
>> <figure>
>>    <a href="#enlarged-version">
>>      <img />
>>    </a>
>>    <figcaption>
>>      <a href="#longdesc-url">
>>        {$caption}
>>      </a>
>>    </figcaption>
>> </figure>
> I like it,
> but as mentioned here and at the typo3 camp, we really have to check if
> it is an link, as it's possible to enter "all text". For XHTML we could
> just use it, if no link and click enlarge is present...
Of course we need to change the behaviour of the field in the backend.
It should only allow URI's :-)

See my next posting as well about the aria-describedby attribute

Cheers

Patrick
> 
> regards
> 
> Steffen



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