Closed (fixed)
Project:
Boldy
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2012 at 21:25 UTC
Updated:
20 Aug 2012 at 21:51 UTC
After running Functional Accessibility Evaluator 1.1 from The University of Illinois at Urbana-Champaign on the boldy.d7.garethalexander.co.uk demo site.
Under Navigation & Orientation in the Navigation Bars section there is:
Warn: 30 pages (of 31) with this warning
Each ul or ol element that precedes the last h1 element and appears to be a navigation bar should be immediately preceded by a heading element, preferably an h2.
Comments
Comment #1
the_g_bomb commentedSee http://html.cita.illinois.edu/nav/menu/ for best practices
Comment #2
the_g_bomb commentedThis issue is caused primarily because the superfish menu bar did not have a header element preceding the actual menu bar. If the primary menu was used this would have passed this test as it contains a element-invisible heading before it.
This has been fixed by:
Editing the superfish menu block at: admin/structure/block/manage/superfish/1/configure
Expanding the "Show Advanced HTML settings" fieldset.
In the subsection "HTML wrappers"
Under Around the main <UL>:
I inserted the text
<h2 class="element-invisible">Main menu</h2>,This outputs the heading "Main menu" before the actual unordered menu list, but with the class element-invisible, which means it will not be displayed on the screen.
Comment #3
the_g_bomb commentedI also added:
<h2 class="element-invisible">Social media menu</h2>before the social media icons to all the page.tpl files and commited that to the 7.x-1.x-dev release.