This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7218 - 4.2: Generate events to fire for each action
Summary: 4.2: Generate events to fire for each action
Status: RESOLVED WONTFIX
Alias: None
Product: ARIA
Classification: Unclassified
Component: Core AAM (show other bugs)
Version: 1.0
Hardware: PC All
: P1 normal
Target Milestone: ---
Assignee: Cynthia Shelly
QA Contact: ARIA UA Implementors
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 16:35 UTC by Andi Snow-Weaver
Modified: 2010-10-28 14:30 UTC (History)
1 user (show)

See Also:


Attachments

Description Andi Snow-Weaver 2009-08-05 16:35:33 UTC
Per 10 July UAI TF meeting minutes, a column has been added to the table in section 4.2 to define the events that are fired for each action. But it is currently empty. We need to generate this content. 

http://www.w3.org/2009/07/10-aapi-minutes.html
Comment 1 Andi Snow-Weaver 2009-09-04 15:30:04 UTC
See action table in 3.7. Cynthia to investigate what events are fired when the action occurs.
Comment 2 Andi Snow-Weaver 2010-07-06 14:25:57 UTC
David, please review the events.doc that Cynthia sent you.
Comment 3 Andi Snow-Weaver 2010-08-30 15:51:48 UTC
In process but to incomplete for September 2010 draft. Parking the table here for now:

<table border="1" cellpadding="1" cellspacing="1" width="100%">
			<caption>
				Table of <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> Roles that have actions associated with them
			</caption>
			<tbody>
                <tr>
                    <th><abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> Role</th>
                    <th>Default action</th>
                    <th><abbr title="Microsoft Active Accessibility">MSAA Event</abbr></th>
                    <th><abbr title="User Interface Automation">UIA</abbr> Event</th>
                </tr>
                <tr>
					<td><code class="role-reference">button</code></td>
					<td>press</td>
                    <td><code>EVENT_OBJECT_STATECHANGE</code></td>
                    <td><code>UIA_Invoke_InvokedEventId</code></td>
				</tr>
				<tr>
					<td><code class="role-reference">checkbox</code></td>
					<td>check/uncheck</td>
                    <td><code>EVENT_OBJECT_STATECHANGE</code></td>
                    <td><code>UIA_ToggleToggleStatePropertyId</code> property-changed event</td>
				</tr>
                <tr>
					<td><code class="role-reference">combobox</code></td>
					<td>open/close</td>
                    <td>&nbsp;</td>
                    <td><p><code>UIA_ExpandCollapseExpandCollapseStatePropertyId</code>  property-changed event.</p>
                  If the control supports the <a href="http://msdn.microsoft.com/en-us/library/ee671293(v=VS.85).aspx">Value</a> control pattern, it must support the  <code>UIA_ValueValuePropertyId</code> property-changed event.</td>
				</tr>
                <tr>
                  <td><code class="role-reference">grid</code></td>
                  <td>select</td>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
					<td><code class="role-reference">link</code></td>
					<td>jump</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_Invoke_InvokedEventId</code></td>
				</tr>
                <tr>
					<td><code class="role-reference">listitem</code></td>
					<td>select/unselect if parent role is listbox</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
				</tr>
                <tr>
					<td><code class="role-reference">menuitem</code></td>
					<td>click</td>
                    <td><code>DoDefaultAction</code></td>
                    <td>&nbsp;</td>
				</tr>
				<tr>
					<td><code class="role-reference">menuitemcheckbox</code></td>
					<td>click</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_SelectionItem_ElementSelectedEventId</code>,  <code>UIA_SelectionItem_ElementRemovedFromSelectionEventId,</code> <code>UIA_SelectionItem_ElementAddedToSelectionEventId</code></td>
				</tr>
				<tr>
					<td><code class="role-reference">menuitemradio</code></td>
					<td>click</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_SelectionItem_ElementSelectedEventId</code>,  <code>UIA_SelectionItem_ElementRemovedFromSelectionEventId</code>,  <code>UIA_SelectionItem_ElementAddedToSelectionEventId</code></td>
				</tr>
				<tr>
					<td><code class="role-reference">option</code></td>
					<td>select/unselect</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_SelectionItem_ElementSelectedEventId</code>,  <code>UIA_SelectionItem_ElementRemovedFromSelectionEventId</code>,  <code>UIA_SelectionItem_ElementAddedToSelectionEventId</code></td>
				</tr>
                <tr>
					<td><code class="role-reference">radio</code></td>
					<td>select</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
				</tr>
                <tr>
					<td><code class="role-reference">scrollbar</code> (sub-parts)</td>
					<td>scroll</td>
                    <td><code>EVENT_OBJECT_CONTENTSCROLLED</code></td>
                    <td><code>VerticalScrollPercentProperty</code> or <code>HorizontalScrollPercentProperty</code> property change on the associated scroll bars</td>
				</tr>
                <tr>
					<td><code class="role-reference">tab</code></td>
					<td>switch</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_SelectionItem_ElementSelectedEventId</code>, <code>  UIA_SelectionItem_ElementRemovedFromSelectionEventId</code>,  <code>UIA_SelectionItem_ElementAddedToSelectionEventId</code></td>
				</tr>
                <tr>
					<td><code class="role-reference">textbox</code></td>
					<td>activate</td>
                    <td>&nbsp;</td>
                    <td><code>UIA_Text_TextSelectionChangedEventId</code>, <code>
UIA_Text_TextChangedEventId</code></td>
				</tr>
                <tr>
					<td><code class="role-reference">treeitem</code></td>
					<td>activate + expand/collapse</td>
                    <td>&nbsp;</td>
                    <td><p><code>UIA_AutomationFocusChangedEventId</code>.
                      <code>UIA_StructureChangedEventId</code></p>
                      <p> 
                      <code>UIA_BoundingRectanglePropertyId</code>, 
                      <code>UIA_ExpandCollapseExpandCollapseStatePropertyId</code>, and
                      <code>UIA_NamePropertyId</code> property-changed events.
                      </p>
                      <p>If the control supports the <code>Invoke</code> control pattern, it must support the <code>UIA_Invoke_InvokedEventId</code> event. <br />
                        If the control supports the <code>IsEnabled</code> property, it must support the <code>UIA_IsEnabledPropertyId</code>  property-changed event.  <br />
                        If the control supports the <code>IsOffscreen</code> property, it  must support the <code>UIA_IsOffscreenPropertyId</code>  property-changed event. <br />
                        If the control supports the <code>ItemStatus</code> property, it  must support the <code>UIA_ItemStatusPropertyId</code>  property-changed event. <br />
                        If the control supports the <code>MultipleView</code> control  pattern, it must support the<code>UIA_MultipleViewCurrentViewPropertyId</code>  property-changed event. <br />
                        If the control supports the <code>SelectionItem</code> control pattern, it must support the <code>UIA_SelectionItem_ElementAddedToSelectionEventId</code> event. <br />
                        If the control supports the <code>SelectionItem</code> control pattern, it must support the <code>UIA_SelectionItem_ElementRemovedFromSelectionEventId</code> event. <br />
                        If the control supports the <code>SelectionItem</code> control pattern, it must support the  <code>UIA_SelectionItem_ElementSelectedEventId</code> event. <br />
                        If the control supports the <code>Toggle</code> control pattern, it  must support the <code>UIA_ToggleToggleStatePropertyId</code> property-changed event. <br />
                        If the control supports the <code>Value</code> control pattern, it must support the <code>UIA_ValueValuePropertyId</code> property-changed event.</p></td>
				</tr>
			</tbody>
		</table>
Comment 4 Cynthia Shelly 2010-10-28 14:30:15 UTC
The Semantic Events for DOM L3 events proposed by Apple is a better way to handle accessible eventing.  We've decided not to spec this for ARIA 1.0