[Instant messaging] Make the conversation output a WAI-ARIA live region

RESOLVED FIXED in Thunderbird 16.0

Status

Thunderbird
Disability Access
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: MarcoZ, Unassigned)

Tracking

Trunk
Thunderbird 16.0

Thunderbird Tracking Flags

(thunderbird15 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Making it a live region makes sure screen readers speak the output as soon as it happens without the user having to review every bit of it manually. This can be done by adding aria-live="polite" to the top most parent element of what contains the chat output. So if there's a div around the elements containing all the conversation text, use that, or the body element of that HTML output widget.
Created attachment 631342 [details] [diff] [review]
Patch

Marco, if I understood what you want correctly, this trivial patch should do it.

Note: we received a very similar request for Instantbird at https://bugzilla.instantbird.org/show_bug.cgi?id=1262 and an older request at https://bugzilla.instantbird.org/show_bug.cgi?id=103 which we understood at the time as wanting the aria attribute on each message, rather than the whole message area. That was more difficult to enforce (as message themes can be customized) and regressed since the fix.
Attachment #631342 - Flags: review?(clokep)
Attachment #631342 - Flags: feedback?(marco.zehe)
(Reporter)

Comment 2

5 years ago
Comment on attachment 631342 [details] [diff] [review]
Patch

Yes, this looks correct!
Attachment #631342 - Flags: feedback?(marco.zehe) → feedback+
Attachment #631342 - Flags: review?(clokep) → review+
Comment on attachment 631342 [details] [diff] [review]
Patch

[Approval Request Comment]
I think we want accessibility fixes of the chat feature on aurora for Tb15.
Attachment #631342 - Flags: approval-comm-aurora?
Comment on attachment 631342 [details] [diff] [review]
Patch

Yes definitely.
Attachment #631342 - Flags: approval-comm-aurora? → approval-comm-aurora+
https://hg.mozilla.org/comm-central/rev/47f05f31d03a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
https://hg.mozilla.org/releases/comm-aurora/rev/d52cf71ffaed
status-thunderbird15: --- → fixed
You need to log in before you can comment on or make changes to this bug.