Hi ALL,
I am just submitting this for information, also to add a relevant topic within asp.net forums for search engine searches regarding an alternative ASP.NET Menu control that is accessible and standards compliant.
First of all, I would like to thank Chris Love for his comment on one of my posts which introduced me to the CSS friendly Menu Control.
The built-in ASP.NET Menu control is encapsulated as a menu of browser incompatibilities and accessibility problems.
The CodePlex community has developed a CSS adapter solution for ASP.NET menu control (and lots of other control i.e. Tree view, Grid view etc.) to override its rendering mechanism using plainly stylesheets and C# compiled javascripts. I have tested its compatibility and accessibility and worked seamlessly compliant to WCAG.
You can download this in http://cssfriendly.codeplex.com/
This is very simple to implement in just 4 easy steps:
- Add a reference to your CSSFriendly.dll in your project
- Create a .browser file (you can copy the content from the download file) - this basically tells your control to inherit itself from your adapters
- Link a stylesheet to your page - this is where you will define the style of your menu
- On your menu control, add this attribute in <asp:Menu> tag: CssSelectorClass="YourCSSFriendlyMenuStyle"
The download file contains all the information you will need including full control on customization.
I hope this will prove helpful as reference to all especially to search engine searchers.
Best regards,
Jeremy Ramos