WebAIM - Web Accessibility In Mind

E-mail List Archives

Any alternative to reveal elements onfocus just like onmousehover in Rich Internet Applications ?

for

From: Ravindra Kumar Jain
Date: Jun 13, 2014 1:44AM


Hi List,
This is a user functionality , I am searching for which I think may
be "quite possible using jquery."

Consider an example of "Dropdown menu"
for a sighted user "onmousehover" over the main button / link
reveals the sub-headings.
I am expecting the same functionality for a keyboard user, when he
tabs into the button / link.
Example:

<ul class="TopMenu">
<li class="level_1" onmouseout="hideOverlay();"
onmouseover="showOverlay(this);">

For which I tried adding , onfocus="hideOverlay();", sadly didn't work.

Question : Can somebody suggest any good working implementable
examples / links (please dont give any framework examples )
............?

Question :Is is not justified that if a sighted user can reveal links
onmousehover .. a non sighted user can and should do the same on
tabbing ?

This I guess can be very useful for accessible dropdown menus and
expandable / collapsible regions.

Thanks in advance .....

Ravindra Kumar Jain
Accessibility Engineer
Onya Digital Solutions Pvt. Ltd.
www.onyadigital.com