[TYPO3-core] RFC: Bugfix for #2341: add headers fortable CE(accessibility)
Martin Kutschker
Martin.Kutschker at blackbox.net
Mon Mar 13 17:21:23 CET 2006
Sebastian Kurfuerst <sebastian at garbage-group.de> writes on
Mon, 13 Mar 2006 15:23:41 +0100 (MET):
> Thanks Masi,
> here is the patch.
I didn't check if $a and $k are properly used, but the patch looks fine.
Suggestion: Instead of using $accessibleHeaderId for different values (one for the id, a second time for the reference) you could perhaps use simple this:
$scope = ' scope="'.$headerScope.'"';
$scope .= ' id="'.$headerIdPrefix.(($headerScope=='col')?$a:$k).'"';
and later $accessibleHeader (without "Id") to make it more readable what is really added to the tags.
Masi
More information about the TYPO3-team-core
mailing list