Closed Bug 566562 Opened 12 years ago Closed 5 years ago

nsIAccessibleSelectable clearSelection and selectAllSelection aren't optimal

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: surkov, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [auto-closed:inactivity])

nsAccessible implementation of nsIAccessibleSelectable clearSelection and selectAllSelection aren't performant because for every found selectable child they call SetSelected which ensures again if this child can be selected. We need to get rid this double search (from parent to child, from child to parent).

Also it sounds we could improve SetSelected(PR_FALSE) if we won't check whether the accessible is selectable or not, it's not awful if we just remove ARIA aria-selected attribute if any.
AUTO-CLOSED. This bug untouched for over 2000 days. Please reopen if you can confirm the bug and help it progress.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [auto-closed:inactivity]
You need to log in before you can comment on or make changes to this bug.