[TYPO3-core] RFC: #12872: Use "strong" instead of "b"

Steffen Kamper info at sk-typo3.de
Tue Dec 1 14:28:49 CET 2009


Hi,

This is SVN patch request.

Type: Bugfix / Cleanup

Branches: trunk, 4_3

BT reference: http://bugs.typo3.org/view.php?id=12872

you may ask: why? Both render text to bold, but there is a difference.
b is only a visual tag, strong is a semantical tag. This means also that 
screenreaders differntiate between b and strong.
In TYPO3 they are used accidentally, old code has b and new code has 
strong (mostly). Also we have a visual difference as strong has 
CSS-Rules, b not.

The patch uses <strong> at all places to make it consistent. There are 
also some font-tags that has been removed, styles are applied direct ro 
the strong tag.

So this patch is clean-up only, doesn't change any behaviour.

http://www.w3.org/TR/html401/struct/text.html

vg Steffen


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12872.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091201/dcce06a4/attachment.asc>


More information about the TYPO3-team-core mailing list