For the most part, this page seems to work fine for me in NVDA. I am
noticing it occasionally switches to browse mode when it shouldn't while
navigating the menus. I think this is because the page occasionally sets
focus to a menu instead of setting focus to a menu item. I can't quite
work out what causes this. NVDA should probably enable focus mode for
"menu" nodes anyway (I'll look into this), but menus probably shouldn't
ever gain focus; rather, the active menu item should.
>> On this page:http://preview.ncbi.nlm.nih.gov/guide/
>> on the top there is an aria-enabled navigation menu. It works pretty
>> well in NVDA .06p32 with Firefox 3.5x
>> Although I see that I have to click the space bar to go into focus
>> mode.
This is necessary. Otherwise, every time you moved up to the top of the
document, you would get "stuck" in the menu, even if you didn't intend
to interact with it.
Btw, NVDA 2009.1beta1 has now been released. I recommend that you try it
with that.
Jamie
--
James Teh
Email/MSN Messenger/Jabber: ja...@jantrid.net
Web site: http://www.jantrid.net/
Okay. I did a bit of further investigation on this. As I noted, the
problem relates to the menu seeming to get focus in NVDA, but I
discovered that it isn't actually a focus event. Rather, it is a
menuPopupStart event, which NVDA treats as a focus event under certain
circumstances.
When some of the menu items in your implementation get focus, a
menuPopupStart event is sometimes fired on the menu itself, as if the
menu has already been activated. This event should only be fired once
the menu is actually opened. Observe the following log from accprobe:
> time = 17:29:12:955 type = EVENT_OBJECT_FOCUS name = NCBI Logo role = menuItem state = [focusable, focused, defunct, linked] miscData =
> time = 17:29:15:529 type = EVENT_SYSTEM_MENUPOPUPSTART name = null role = menuPopup state = [selectable] miscData =
> time = 17:29:15:509 type = EVENT_OBJECT_FOCUS name = Resources role = menuItem state = [focusable, focused, defunct, hasPopup, linked] miscData =
> time = 17:29:17:312 type = EVENT_SYSTEM_MENUPOPUPEND name = null role = document state = [normal, invalidEntry] miscData =
> time = 17:29:17:342 type = EVENT_OBJECT_FOCUS name = NCBI Logo role = menuItem state = [focusable, focused, defunct, linked] miscData =
> time = 17:29:18:674 type = EVENT_OBJECT_FOCUS name = Resources role = menuItem state = [focusable, focused, defunct, hasPopup, linked] miscData =
> time = 17:29:18:704 type = EVENT_SYSTEM_MENUPOPUPSTART name = null role = menuPopup state = [selectable] miscData =
I'm not sure how this translates as far as ARIA is concerned (i.e. what
causes the menuPopupStart event to be fired); someone else will need to
answer that. I can tell you that this extraneous event is the reason
that NVDA is sometimes switching out of focus mode when it shouldn't. I
can't speak for any other screen reader.
Web site: http://www.jantrid.net/
--
You received this message because you are subscribed to the Google Groups "Free ARIA Community" group.
To post to this group, send email to free...@googlegroups.com.
To unsubscribe from this group, send email to free-aria+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/free-aria?hl=.