Open Bug 1809257 Opened 3 years ago Updated 6 months ago

NODE_PARENT_OF relation not provided for listitems, treeitems, organized with role=group, separated by generic intervening accessibles

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

People

(Reporter: nlapre, Unassigned)

References

(Blocks 2 open bugs)

Details

Consider the following snippet:

<div role="tree">
  <div role="treeitem" id="parent">1</div>
  <div role="group">
    <div role="treeitem">1.1</div>
  </div>
</div>

The parent treeitem above has a NODE_PARENT_OF relation to the other treeitem, despite not being a direct parent. Similarly, consider the following snippet:

<div role="tree">
  <div role="treeitem" id="parent">1
    <div role="group">
      <div role="treeitem">1.1</div>
    </div>
  </div>
</div>

The parent treeitem has a NODE_PARENT_OF relation to the other treeitem, despite the intervening group. This also works for list/listitem. These behaviors were implemented in Bug 864224.

However, these relations don't hold up when generic intervening accessibles enter the tree. Consider these modifications to the above examples (see Bug 995064 for more):

<div role="tree">
  <div tabindex="0">
    <div role="treeitem" id="parent">1</div>
  </div>
  <div tabindex="0">
    <div role="group">
      <div role="treeitem">1.1</div>
    </div>
  </div>
</div>

and

<div role="tree">
  <div role="treeitem" id="parent">1
    <div tabindex="0">
      <div role="group">
        <div role="treeitem">1.1</div>
      </div>
    </div>
  </div>
</div>

Neither of the parent accessibles in these examples will have NODE_PARENT_OF relations like they would without the presence of those intervening generic SECTIONs.

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