Extension Key: cron_accessiblemenus
Copyright 2005, 2006, ernst@cron-it.de, <ernst@cron-it.de>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
With this extention you can generate accessible (i.e. “barrierefrei”) text-based menus.
Automatically generates “accesskeys” to the navigational <A> Tags for your TMENU's based on the title of the menu item.
Prefixes each MENUITEM with a <dfn> tag showing the current nesting level
For accesskeys:
The first not yet used character of the title will be used as an accesskey. Optionally you can wrap something around the first occurence of the accesskey in the title, so you can easily simulate Windows-like menus (underlined accesskey).
This also works together with gov_accesskey, in that if an accesskey is defined for an page (field “accesskey”), it will be used instead of auto-generating one.
Please note that the usage of accesskeys isn't really recommended anymore because of the lack of a standard behaviour amongst browsers. Refer to this article (german only) for more information.
For dfn:
The nesting of your HMENU will be used as a base of the generated <dfn> tags. So on the second level, the third menu item will get a <dfn>2.3:</dfn> prepended.
This is based on a script by Jan Wischnat, from schwangau.de.