In previous versions of Zen, the URL for the "skip link" pointed to was hard-coded to "#main-menu" in the html.tpl.php file. But the target of that link may not be in your actual sub-theme if you've turned off the theme's "main menu links" in favor of using a block with menu links.
Zen 7.x-3.1 adds a new theme setting so that site admins and sub-themers can easily alter the HTML ID used by the "skip link".
You can support this new feature of Zen by updating your sub-theme:
- If you have overridden the default html.tpl.php in your sub-theme, edit your html.tpl.php and replace this line:
<a href="#main-menu" class="element-invisible element-focusable"><?php print t('Jump to Navigation'); ?></a>
with this line:
<a href="#<?php print $jump_link_target; ?>" class="element-invisible element-focusable"><?php print t('Jump to Navigation'); ?></a>
- Edit your sub-theme’s .info file and add this line near the end of the file:
settings[zen_jump_link_target] = main-menu
This assumes you want the skip link to use "#main-menu" as its URL. If you need to use a different HTML ID, you should specify that instead (don't include the # sign.)