Bug #14948
closedFE anchor references not XHTML
0%
Description
In the HTML output of the front-end, anchor tags wrapping content elements are referenced to with a number (UID).
This does not comply with XHTML:
ID and NAME must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
http://www.w3.org/TR/html4/types.html#h-6.2
I tried to work around the problem, configuring the page with typoscript, but in my opinion the UID in Anchor Tags should globally begin with a letter. For instance "a21" instead of just "21".
Some of the typoscript used would be:
[tt_content.stdWrap.dataWrap = <a id="a{field:uid}"></a>]
Also, using an ID instead of the NAME Attribute in Anchors is of my knowledge backwards compatible with the HTML 4.01 Specification.
http://www.w3.org/TR/html4/struct/links.html#h-12.1.1
(issue imported from #M1413)