Issue Bug Closed

#16097Sccessibility issue: XHTML compatibility of text with image content

Martin Gratzer 04/27/06, 12:15 updated 10/02/18, 12:33

Description

I found out that there is an error on the CSS Styled Content Extension when using an Text & Image content element. The generated XHTML Code looks like this:

<div class=”…”>
<dl class=”…”>
<dt><img …/></dt>
</dl>
<dd class=”…”>Caption…</dd>
</div>

but it should look like that to be XHTML valid:

<div class=”…”>
<dl class=”…”>
<dt><img …/></dt>
<dd class=”…”>Caption…</dd>
</dl>
</div>

I have solved the problem by changing the rednerMethod with adding

tt_content.textpic.20.renderMethod = div

to my template setup
(issue imported from #M3363)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.