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 13246 - SelectionItem Pattern events when used on roles gridcell, option, row, tab and similar parent/child relationships
Summary: SelectionItem Pattern events when used on roles gridcell, option, row, tab a...
Status: RESOLVED FIXED
Alias: None
Product: ARIA
Classification: Unclassified
Component: Core AAM (show other bugs)
Version: 1.0
Hardware: PC Windows XP
: P1 normal
Target Milestone: ---
Assignee: Andi Snow-Weaver
QA Contact: ARIA UA Implementors
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 14:27 UTC by Andi Snow-Weaver
Modified: 2011-11-07 20:09 UTC (History)
0 users

See Also:


Attachments

Description Andi Snow-Weaver 2011-07-14 14:27:06 UTC

    
Comment 1 Cynthia Shelly 2011-10-25 16:44:43 UTC
focus event = UIA_AutomationFocusChangedEventId
Comment 2 Cynthia Shelly 2011-10-28 04:18:03 UTC
Grid/Gridcell
both gridcell and row are mapped to UIA dataitem, which requires selectionitem pattern.  Grid is mapped to UIA datagrid, which requires the Selection pattern when it's children support selectionItem.  (there are cases where they don't, but I don't think they are possible with ARIA). Therefore, grid must always support the Selection Pattern, and gridcell must always implment the selectionContainer property of its selectionItem pattern, and point it to the grid's accessible object.

List/Listitem
When list contains any listitems, it must be implement the selection pattern, it works the same as grid.  If it contains only groups, it the selection pattern is optional.

Tablist/tab
Selection is always required on UIA tab (aria tablist).

For all of these, when the child is selected:
"If the result of a Select, an AddToSelection, or a RemoveFromSelection is a single selected item (aria-multiselect=false), an UIA_SelectionItem_ElementSelectedEventId event should be raised; otherwise (aria-multiselect=true) raise UIA_SelectionItem_ElementAddedToSelectionEventId or UIA_SelectionItem_ElementRemovedFromSelectionEventId events as appropriate."

This will be managed by the selection container.
Comment 3 Andi Snow-Weaver 2011-10-31 15:10:49 UTC
Cynthia, 

Please review the following rows in the Row Mapping Table:

grid, gridcell, row, list, listitem, and tablist

and the Selection events section.
Comment 4 Cynthia Shelly 2011-11-03 19:10:49 UTC
(In reply to comment #3)
> Cynthia, 
> 
> Please review the following rows in the Row Mapping Table:
> 
> grid, gridcell, row, list, listitem, and tablist
> 
> and the Selection events section.

Looks good, thanks.