Partially broken accessibility in the headers pane for a message
Categories
(Thunderbird :: Message Reader UI, defect, P1)
Tracking
(thunderbird_esr68+ affected, thunderbird75+ affected, thunderbird76 fixed)
People
(Reporter: k.kolev1985, Assigned: aleca)
References
Details
(Keywords: access, regression)
Attachments
(2 files, 2 obsolete files)
29.26 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
1.44 KB,
patch
|
mkmelin
:
review-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
- Launch a screen reader like NVDA or Narrator.
- Launch Thunderbird 68.
- Make sure that the message preview pane is enabled.
- Navigate to/select a folder containing a few messages.
- Select a message from the list, so it appears in the message preview pane.
- Use the TAB key to navigate between the controls in the headers pane (e.g. "From", "Subject", etc.) in the message preview pane.
Actual results:
Controls/fields such as "From", "To", "Date", etc. do not have labels for screen readers - only the content is read (e.g. the name of the sender is read, but not the associated with it label "From").
Expected results:
Controls/fields such as "From", "To", "Date", etc. should have labels for screen readers as they did before version 68 of Thunderbird.
Comment 1•5 years ago
|
||
Alex and Jean-Philippe, can you confirm?
Comment 2•5 years ago
|
||
Yes I confirm. I had not seen this because blind people disable the display pane, usually. I disable it and prefer opening the message with Enter. But for those using the display pane, indeed, this should be fixed.
Best regards
Updated•5 years ago
|
Comment 4•5 years ago
|
||
But this doesn't affect the standalone windows?
If it does, this is pretty serious - and hard to imagine this isn't a duplicate report.
Comment 5•5 years ago
|
||
yes it does. If you:
- Press enter on a message to open it in a new window (dont know how happens with open in tabs, I disabled it as buggy)
- Press tab and shift tab to reach the message info pane
Result: the same as this described in this bug. You here the sender (but not the label "From"; then, "Subject" (not more), then "Me" and your address, but you dont have label
Comment 6•5 years ago
|
||
Likely same as bug 1493608.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
This patch brings back the proper accessibility labels for all those header fields, and fixes the tests disabled in bug 1493608.
Assignee | ||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #9)
was role necessary?
textbox is a bit weird for this. See bug 1489748 comment 37.
The test was looking for that role.
Based on this https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/textbox_role, the role doesn't seem to be related to anything XBL, but rather used to identify non input
elements that allow free-form text.
Do we want that?
If it's not necessary I can remove that check from the test.
Instead of a custom labelId attribute, could this be using aria-labelledby?
That was my first approach but apparently aria-labelledby
overrides aria-label
.
I would have to remove the aria-labelledby
attribute once set, that's why I went with a custom attribute.
Comment 11•5 years ago
|
||
From 1489748 comment 37 is sounds like we should not set a role for it.
Maybe it's still preferable to set the aria-labelledby and maybe nuke it if then later needed
Assignee | ||
Comment 12•5 years ago
|
||
Updated!
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #13)
Comment on attachment 9134193 [details] [diff] [review]
should probably remove the expectedRole data for the tests too
I thought I removed everything, is there any leftover?
Comment 15•5 years ago
|
||
I was referring to https://searchfox.org/comm-central/rev/e4f7cb14fda6e7c86bd5353f310105311ea78aa3/mail/test/browser/message-header/browser_messageHeader.js#234 (and the others)
Comment 16•5 years ago
|
||
I was confused.
Assignee | ||
Updated•5 years ago
|
Comment 18•5 years ago
|
||
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d51e4a31fe1d
Fix accessibility labels in message pane headerarea. r=mkmelin
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 19•5 years ago
|
||
This caused bct3
test failure which didn't appear in the try-run.
Creating a patch right now.
Assignee | ||
Comment 20•5 years ago
|
||
For some strange reason, the mail-newsgroup
element doesn't seem to get the aria-labelledby
element.
This fixes it and those tests pass locally.
Here's an artifact try-run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=ff08ca70e2786377cce0815dbfb3754eeb2cb94f
Comment 21•5 years ago
|
||
Assignee | ||
Comment 22•5 years ago
|
||
Darn, sorry about that.
Comment 23•5 years ago
|
||
Comment 24•5 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/67ab25b59f96
followup: fix mistakenly removed aria-labelledby. rs=bustage-fix
Comment 25•5 years ago
|
||
You were removing the parent attribute inside a loop.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 26•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #25)
You were removing the parent attribute inside a loop.
Ah, I totally missed that.
Thanks for fixing it.
Description
•