As a local government site we need to meet the 2018 accessibility standards, these include the need for all our menus to be keyboard accessible, our site was built many years ago and uses a sub menu which is only accessible via a mouse.
Example code below:
Is it possible to make such a sub menu keyboard accessible with standard Matrix tools?
<MySource_AREA id_name=“main_nav” design_area=“menu_normal” cache=“1”>
-
<MySource_PRINT var=‘asset_short_name’ />
more
<MySource_SUB design_area=“menu_normal”>
<MySource_SET name=“show_subs” value=“always” /><ul class="sub-nav"> <MySource_ASSET> <li><a class="<MySource_PRINT var='settings.class' />" href="<MySource_PRINT var='asset_link' />"> <MySource_PRINT var='asset_short_name' /></a> </li> </MySource_ASSET> </ul> </MySource_SUB> </li> </MySource_ASSET> <MySource_DIVIDER></MySource_DIVIDER> </ul>
</MySource_AREA>
<MySource_SET name=“show_subs” value=“always” />
<MySource_SET name=“level” value=“top” />
<MySource_SET name=“settings.class.normal” value="" />
<MySource_SET name=“settings.class.current” value=“selected” />
<MySource_SET name=“settings.class.hierarchy” value=“selected” />
<MySource_ASSET>