Open Bug 1809539 Opened 2 years ago Updated 2 years ago

Rework AccGroupInfo functions FirstItemOf, NextItemTo, TotalItemCount to work around intervening generic accessibles

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

People

(Reporter: nlapre, Unassigned)

References

(Blocks 2 open bugs)

Details

Some AccGroupInfo functionality fails to account for the possibility of intervening generic accessibles in the tree, particularly with compound ARIA widgets like tree + treeitems, or list + listitems. The functions that need to take this into account are:

  • FirstItemOf
  • NextItemTo
  • TotalItemCount

TotalItemCount uses FirstItemOf, and is called by Attributes/NativeAttributes to determine the value of the "child-item-count" attribute. FirstItemOf and NextItemTo are used by the ItemIterator, which is used by RelationByType implementations (for NODE_PARENT_OF).

Rather than assume that children and previous-index siblings are true siblings, we should instead do a tree walk to find siblings. An example of this work can be found in Bug 995064.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.