[TYPO3] Trouble with 4.1, xhtml and validator.w3.org

Christopher Torgalson bedlamhotel at gmail.com
Mon Apr 23 22:06:42 CEST 2007


On 4/23/07, Peter Guhl <peter.guhl at win-lux.ch> wrote:
> JoH asenau schrieb:
> >>>> My typo3-Website (4.1) is set to xhtml 1.0 transitional. But the
> >> [...]
> >>>> --> it's wrapping the <h1>-tag into a span. There aren't many tags
> >>>> the validator likes to seen in a span - even more in xhtml.
> >>> Well - usually the wrap around headers already _is_ a <div> and it
> >>> is set here
> >>>
> >>> lib.stdheader.stdWrap.dataWrap = <div class="csc-header
> >>> csc-header-n{cObj:parentRecordNumber}">|</div>
> [...]
> > I bet it's the "Accessible Content" extension that changes the default wrap
> No, according to the Typo Script Object Browser it's css_styled_content
> defining lib.stdheader.stdWrap.dataWrap = <span class="csc-header
> csc-header-n{cObj:parentRecordNumber}">|</span>

No, it's /not/ css styled content--unless you have altered the
static/setup.txt file in the extension directory. Just checking in the
TSob can't tell you this. If you try the template analyzer instead,
you can see that there is only one occurrence of 'csc-header-n', and
it looks like this:

stdWrap.dataWrap = <div class="csc-header

If another extension were to come along and overwrite the line above
with a span instead, you'd have no good way (from the TSob alone) to
tell which extension had done it.


> Definitely. I wonder if that is a general error of css_styled_content
> Version 0.3.1 or if I somehow managed to break it. For example by
> accidentally installing an old version of "Accessible Content" and
> updating it later on. This might have an influence (at least IMHO ;)
> since the old version was replacing major parts of css_styled_content
> (which was not that good for accessibility those days) while the new one
> is doing much less (css_styled_content became better).

This is still your most likely suspect.

Christopher Torgalson

More information about the TYPO3-english mailing list