Closed Bug 1625868 Opened 4 years ago Closed 4 years ago

Items in definition lists are counted wrong.

Categories

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

Desktop
macOS
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox76 --- wontfix
firefox82 --- fixed

People

(Reporter: MarcoZ, Assigned: morgan)

Details

(Whiteboard: [Mac2020_1])

Attachments

(1 file)

STR:

  1. Open this test case.
  2. Read through it with VoiceOver.
    • Expected: When reaching the definition list, a list of 3 items (3 dt elements) is announced, like in Safari.
    • Actual: Definition list of 6 items is announced.

Note that if you read through this with Safari, it says "Definition list of 3 items", but then when reading each item, it reads "item 1 of 6" etc., like it does with Firefox. So the only difference is that we count all dt and dd elements, or all direct children, and not just the dt elements count.

Note Chromium does it even worse, it counts the two paragraphs in the last dd element as two items, so the list has seven items.

Priority: -- → P3
Severity: normal → S3
Assignee: nobody → mreschenberg
Priority: P3 → P1

It seems that VoiceOver expects AXDescriptionList and AXDescription
as subroles in order to report the correct number of items in a dl.

Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/67b0d3a78234
Use AXDescription/List for dl/dd. r=morgan
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: