Project

General

Profile

Actions

Bug #14948

closed

FE anchor references not XHTML

Added by Nick Schudel over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2005-08-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #14842: Request for new config option prefixLocalAnchorLinks to gain XHTML complianceClosedSebastian Kurfuerst2005-06-27

Actions
Related to TYPO3 Core - Bug #14733: XHTML compliance of section anchorsClosed2005-05-14

Actions
Actions #1

Updated by Nick Schudel over 18 years ago

a similar feature has also been requested at: 0001243

Actions #2

Updated by Sebastian Kurfuerst over 18 years ago

see bug 1243

Actions

Also available in: Atom PDF