How to give keyboard accessibility in web sites
Posted on 4/14/2007 6:02:21 AM
in #ASP.NET 2.X
Hi
In the modern day web sites where client side features have taken the front seat (AJAX), one of the very important and less talked about things is to give the user keyboard accessibility.
There are many users who do not want to go the mouse while working with a site. If we can give them some keyboard shortcuts then they would enjoy the site even more.
Adding these access keys are very simple and can be of great use to the users. For example to add the access key to a <a> tag would be as simple as adding the following attribute to the tag accesskey="5". Now when the user clicks Alt + 5 in IE and Shift + Alt + 5 in Fire fox then the user will be taken to the link. If you press enter then then you will find yourself going to that page.
This is a very small and easy to provide feature, and can be very effective for the users.
Thanks Vikram
|