RE: UAIG Menu events

How about add to line 5
"Note: when focus moves out of a menu, authors SHOULD close the menu"

From: Joseph Scheuhammer [mailto:clown@alum.mit.edu]
Sent: Wednesday, October 30, 2013 12:40 PM
To: Richard Schwerdtfeger; Joseph Scheuhammer
Cc: Cynthia Shelly; W3C WAI Protocols & Formats; Alexander Surkov
Subject: Re: UAIG Menu events

On 2013-10-30 3:29 PM, Richard Schwerdtfeger wrote:
that works.

With that in mind, here's the latest.  Still waiting on Cynthia for advice about how to combine rows 5 and 6.

However, the fact that the old text MSAA text for row 6 said, "clear menu mode", the implication is that the user has moved away from the menu bar, and not simply moved focus out of a menu, leaving it open.
Scenario

MSAA

Microsoft UIA

Mac OS X


Menubar is currently not active, and user moves focus to the menubar from elsewhere thereby activating it. As a result, a menuitem in the menubar is focused.

Menubar must a DOM parent of the menuitems or one defined by aria-owns.

Activate the menu bar and fire EVENT_SYSTEM_MENUSTART on the accessible object for the menubar.

MenuModeStartEvent on the accessible object for the menu

AXMenuOpenedNotification


Focus a menu item while menubar is activated.

EVENT_OBJECT_FOCUS

AutomationFocusChangedEvent

AXMenuItemSelectedNotification


Menu popup made visible (menu is opened).

Should only be fired once until the menu is closed and opened again.

EVENT_SYSTEM_MENUPOPUPSTART

MenuOpenedEvent, then a focus event on a menuitem

AXMenuOpenedNotification

Menu popup hidden (menu is closed).

EVENT_SYSTEM_MENUPOPUPEND once only for accessible menu object and only if EVENT_SYSTEM_MENUPOPUPSTART was fired for it.

MenuClosedEvent

AXMenuClosedNotification

All menus closed, and user moves focus away from menubar; menubar is deactivated.

EVENT_SYSTEM_MENUEND on the menubar; deactivate the menubar

MenuModeEndEvent

AXMenuClosedNotification

Focus moved out of menu I CAN'T RELATE THIS SCENARIO TO ANY OF ALEX's 5 SCENARIOS.

EVENT_SYSTEM_MENUPOPUPEND, then EVENT_SYSTEM_MENUEND and deactivate the menubar

MenuClosedEvent, then MenuModeEndEvent

AXMenuClosedNotification





--

;;;;joseph.





'A: After all, it isn't rocket science.'

'K: Right. It's merely computer science.'

             - J. D. Klaun -

Received on Wednesday, 30 October 2013 20:49:10 UTC