In Internet Explorer you should first edit the security settings for the zone in which your test page is. Be careful to select the right zone - if you are testing locally you need to customize the "Local Intranet" zone:
Then set the "Active scripting" option to "Disable":
Here is how the final result looks like:
We shall also need some CSS to make the buttons look more than regular menu items:
And that's all! Clicking the button (which looks like a menu item) will trigger its Command event.
By default JAWS reader will not read all menu items rendered by RadMenu. This is so because invisible items are inside an element whose display CSS attribute is set to none (for performance and cross browser reasons). However with some CSS (do you recognize the pattern :) ) you can make the items hidden by setting the left CSS attribute:
In Interent Explorer JAWS will also tell us that there are some frames. These are the IFRAMEs generated by RadMenu required to properly overlay windowed HTML elements (such as dropdownlists). If you don't have any dropdownlists which RadMenu should overlay you can use the following CSS to hide those IFRAMEs from JAWS:
Iana Tsolova is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.
Subscribe to be the first to get our expert-written articles and tutorials for developers!
All fields are required