Closed Bug 2021804 Opened 12 days ago Closed 8 days ago

Add more aria attributes to tree views

Categories

(Thunderbird :: Folder and Message Lists, task)

Tracking

(Not tracked)

RESOLVED FIXED
150 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

(Keywords: access)

Attachments

(1 file)

I've learned about yet more attributes that the tree view tables should have:

  • aria-rowcount for the total number of rows in the table, given that some will not be a part of the DOM if the number of rows is high
  • aria-rowindex to correctly set the index of each row
  • aria-sort to tell screen readers which column is the sorted one

I wonder if the header row should be included in the row count if it is visible. I suspect the answer is "no" and there's a better way to label it, but I've heard screen readers say some weird things when talking about the header row.

While I'm here I'm going to add an aria-label to each column header cell as otherwise the readers use all of the text they can find inside the cell, as the label. And that sounds bad, especially if the column picker is visible, since it's inside one of the cells. Or for the column headers containing only icons in about:3pane.

Keywords: access
Target Milestone: --- → 150 Branch

Pushed by jtracey@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/27306324af8c
Add more aria attributes to tree views. r=aleca,sking

Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: