<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7118</bug_id>
          
          <creation_ts>2009-07-17 12:22:03 +0000</creation_ts>
          <short_desc>4.5 determine if Mac and Linux have menu events comparable to the MSAA events in 4.5</short_desc>
          <delta_ts>2010-07-01 19:42:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ARIA</product>
          <component>Core AAM</component>
          <version>1.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andi Snow-Weaver">andi.snowweaver</reporter>
          <assigned_to name="David Bolter">dbolter</assigned_to>
          
          
          <qa_contact name="ARIA UA Implementors">aria-ua-impl</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26003</commentid>
    <comment_count>0</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-07-17 12:22:03 +0000</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27153</commentid>
    <comment_count>1</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2009-09-14 18:55:52 +0000</bug_when>
    <thetext>Did some research here...

Windows:

OK so the MSAA events for menus normally go:

EVENT_SYSTEM_MENU (START, POPUPSTART, POPUPEND, END).

For ARIA test case:
http://archive.dojotoolkit.org/dojo-2009-09-14/dojotoolkit/dijit/tests/test_Menu.html

FF only seems to fire the POPUPSTART and POPUPEND.

Linux:

There are no special events with &quot;menu&quot; in the name.

Generally these events are used, and roles can be inspected to discern them as menu events:

focus: and object:state-changed:selected for menu.
menu also emits object:selection-changed when you arrow through the menu items inside.

Mac:

no data yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27194</commentid>
    <comment_count>2</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-09-15 16:28:59 +0000</bug_when>
    <thetext>David to check to see what FF does if a popup menu is displayed, focus moves away from it but it doesn&apos;t disappear, and then focus moves back to it.

Once have test case, pass this to Cynthia to check IE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27197</commentid>
    <comment_count>3</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-09-15 18:03:30 +0000</bug_when>
    <thetext>Why do screen readers ignore focus events when a menu is open? 

David thinks maybe they track selection events?

Andi to check with Rich (or Aaron). </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31204</commentid>
    <comment_count>4</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-01-25 17:47:08 +0000</bug_when>
    <thetext>I checked with Aaron about the screen readers ignoring focus events. It&apos;s only Windows screen readers that do this and he has no idea why. Because of this, menuing (on Windows) is very fragile so that&apos;s why the propoer nesting of the events is so important.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32183</commentid>
    <comment_count>5</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-02-16 14:30:11 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I checked with Aaron about the screen readers ignoring focus events. It&apos;s only
&gt; Windows screen readers that do this and he has no idea why. Because of this,
&gt; menuing (on Windows) is very fragile so that&apos;s why the propoer nesting of the
&gt; events is so important.
&gt; 

Not all Windows screen readers ignore focus; in fact paying attention to focus first and foremost seems to be very resilient.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32665</commentid>
    <comment_count>6</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-02-25 09:17:58 +0000</bug_when>
    <thetext>James tells me the OSX events should be:
kAXMenuOpenedNotification
kAXMenuClosedNotification
kAXMenuItemSelectedNotification
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32683</commentid>
    <comment_count>7</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-02-25 16:09:15 +0000</bug_when>
    <thetext>Oh those are not necessarily in order :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32760</commentid>
    <comment_count>8</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-03-02 15:42:12 +0000</bug_when>
    <thetext>Add Mac events to the table.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35192</commentid>
    <comment_count>9</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-04-21 18:39:09 +0000</bug_when>
    <thetext>Added Mac events to the table. 

David, please review in the editor&apos;s draft:

http://www.w3.org/WAI/PF/aria-implementation/#mapping_events_menus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35394</commentid>
    <comment_count>10</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-05-04 14:30:00 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Added Mac events to the table. 
&gt; 
&gt; David, please review in the editor&apos;s draft:
&gt; 
&gt; http://www.w3.org/WAI/PF/aria-implementation/#mapping_events_menus

Looks OK to me. Would be good to have Apple on the calls ;)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>