Closed Bug 1819276 Opened 2 years ago Closed 2 years ago

Navigating the message list with `Page up/down`, `End`, or `Home` does not communicate the selected message to screen readers

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 112
Unspecified
All
defect

Tracking

(thunderbird_esr102 unaffected, thunderbird113 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird113 --- fixed

People

(Reporter: pvagner, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: access, regression, Whiteboard: [Supernova3p])

Attachments

(2 files, 2 obsolete files)

Attached file state-changed.py

This is on linux with:
* Thunderbird daily 112.0a1 (2023-02-27) (64-bit)
* at-spi2-core 2.46.0
* python-atspi 2.46.0

	### The problem

	When scrolling the message list to display content that is not currently visible on the screen, assistive tools are not properly notified what message has became selected as a result of the scrolling.

Steps to reproduce

  • Launch attached state-changed.py in a terminal
  • Notice the launched script is printing content to the terminal when focus changes within thunderbird.
  • Navigate to the message list
  • Press up or down arrow key and notice script is printing details about the message that is selected in the list.
  • Now press page up / page down / home / end key to scroll the list
  • Observe the item you have scrolled to is missing in the terminal output.

Actual results

When scrolling the selected item is not communicated to assistive tools.
Instead a pannel is reported to receive the focus.

Expected

Eventhough it might be delayed a little I think focus change to the new item should be reported to assistive tools after scrolling.

Keywords: access, regression
Whiteboard: [Supernova]
Blocks: sn-msglist
Severity: -- → S3
Summary: 112 when scrolling resulting message list is not communicated to screen readers → Navigating the message list with `Page up/down`, `End`, or `Home` does not communicate the selected message to screen readers

Elizabeth, can you investigate this and confirm that the screen reader don't pick up when jumping to the end or the start of a long list of messages?

Flags: needinfo?(elizabeth)

By further investigation I have understood focus events are important not state changes in this case.

(In reply to Alessandro Castellani [:aleca] from comment #1)

Elizabeth, can you investigate this and confirm that the screen reader don't pick up when jumping to the end or the start of a long list of messages?

Yes, I will test this.

Flags: needinfo?(elizabeth)

When considering the final patch from the bug 1820604 The focus moves to the table rather than the pannel when navigating by huge increments in the list. Knowing this will hopefully help to address this too.

Assignee: nobody → elizabeth
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
See Also: → 1821988

I tested this with NVDA on Windows 11. When scrolling using Page Down, sometimes instead of announcing the message NVDA will announce "List." If I continue to use Page Down after hearing "List," nothing is announced, though visually I moving down through the list.

Un-assigning myself, as I have confirmed this is indeed a confirmed bug.

Assignee: elizabeth → nobody
Status: ASSIGNED → NEW
Assignee: nobody → elizabeth
Status: NEW → ASSIGNED

I notice that Page Up and Page Down work more consistently than Home and End. I haven't been able to get the message to read with Home and End. But I have been able to with Page Up and Page Down. It seems that "List" is read when pressing "Page Down" or "Page Up" right after itself without giving the screen reader time to read more of the message subject. If I move quickly to the next Page Up/Down, I will hear "List."

I have moved to a new seemingly more powerfull computer during last few days and now I can confirm page up / page down sometimes read the focused item. It's not 100% reliable though. I can still reproduce the issue by pressing page up or page down several times quickly e.g. three times is enough. Orca will report Multiselect list with x items and not the message that has received the focus.

After investigating this, I have found that the problem is that the content has not yet loaded before the screen reader tries to read it. Alex suggested that this might be the problem and I looked into this suggestion further.

I am working on a fix. I want to ensure the content has loaded before the screen reader reads information from the message.

  • Troubleshooting only so far, fix forthcoming
Attachment #9326381 - Attachment description: WIP: Bug 1819276 - Fix message list PG UP and PG DN for screen reader. → Bug 1819276 - Fix message list scrolling using page up and down. r=#thunderbird-reviewers
Attachment #9326381 - Attachment description: Bug 1819276 - Fix message list scrolling using page up and down. r=#thunderbird-reviewers → Bug 1819276 - Fix message list page up and down scrolling. r=#thunderbird-reviewers,#thunderbird-front-end-reviewers
Attachment #9326381 - Attachment description: Bug 1819276 - Fix message list page up and down scrolling. r=#thunderbird-reviewers,#thunderbird-front-end-reviewers → Bug 1819276 - Fix message list page up and down scrolling. r=#thunderbird-reviewers

I have just found out the list of contacts in the addressbook has the same issue. Can this be generalized or shal I file a new issue?

(In reply to Peter Vágner from comment #12)

I have just found out the list of contacts in the addressbook has the same issue. Can this be generalized or shal I file a new issue?

Please file a new bug. Thank you for finding this. Please cc me on the bug. Thank you!

See Also: → 1826518

(In reply to Elizabeth Mitchell from comment #13)

(In reply to Peter Vágner from comment #12)

I have just found out the list of contacts in the addressbook has the same issue. Can this be generalized or shal I file a new issue?

Please file a new bug. Thank you for finding this. Please cc me on the bug. Thank you!

I have added bug 1826518. Please add more details there if you have any more information. Thank you!

Setting to the active descendant attribute to an ID that doesn't exist confuses things. Instead, do it when the active row is added to the table.

Attachment #9326106 - Attachment is obsolete: true
Attachment #9326381 - Attachment is obsolete: true
Assignee: elizabeth → geoff

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/05af76ed3b44
In TreeView, set aria-activedescendant only once the row exists. r=elizabeth

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Attachment #9328748 - Flags: approval-comm-beta?

Comment on attachment 9328748 [details]
Bug 1819276 - In TreeView, set aria-activedescendant only once the row exists. r=elizabeth

[Triage Comment]
Approved for beta

Attachment #9328748 - Flags: approval-comm-beta? → approval-comm-beta+
Whiteboard: [Supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: