[Typo3] dfn lists for accessible menus
Sacha Vorbeck
sachav at gmx.net
Sun Apr 24 16:04:13 CEST 2005
Hi,
> I can just fetch messages newer than 19th of june 2004. Can you repost
> his posting?
yes, here you are:
>>> Instead they recommend to use unordered list in combination with numbers
>>> wrapped in the <dfn>-Element.
>
>
> I was able to produce <dfn>-tags inside my <ul><li> TMENU with this (not
> very sophisticated) IPROC:
> (see it in beta-action on http://www.schwangau.de/834.0.html )
>
> ------------SNIP-----------------
>
> function user_IProc_dfn($I,$conf) {
>
> $itemRow = $conf['parentObj']->menuArr[$I['key']];
> $level = $conf['parentObj']->menuNumber;
>
> switch ($level) {
> case 1:
> $dfn = ($I['key']+1);
> $GLOBALS['TSFE']->register['dfn_lev1'] = $dfn;
> break;
>
> case 2:
> $dfn = $GLOBALS['TSFE']->register['dfn_lev1'].".".($I['key']+1);
> $GLOBALS['TSFE']->register['dfn_lev2'] = $dfn;
> break;
>
> case 3:
> $dfn = $GLOBALS['TSFE']->register['dfn_lev2'].".".($I['key']+1);
> $GLOBALS['TSFE']->register['dfn_lev3'] = $dfn;
> break;
>
> case 4:
> $dfn = $GLOBALS['TSFE']->register['dfn_lev3'].".".($I['key']+1);
> break;
>
> default:
> $dfn = "";
> break;
> }
> $I['parts']['before'].='<dfn>'.$dfn.':</dfn>';
> return $I;
> }
> ?>
>
> -------------SNAP---------------------
>
>
>>> When this is ready a tut. should be written for it and then we could ask
>>> "einfach-fuer-alle" to add a link to the tut on their page. I`m sure
>>> that this will draw the attention of many accessibility orientated
>>> people to TYPO3.
>
>
> I am writing a tutorial about the "making of schwangau.de" for
> gov.typo3.com - If all goes well it will be finished on 01.July.2004...
> I wouldn't mind if someone told "einfachfueralle.de" about it when it's
> finished;-)
>
>
> hth
>
> Jan
>
>
More information about the TYPO3-english
mailing list