Re-enable test-message-header.js::test_a11y_attrs
Categories
(Thunderbird :: Mail Window Front End, enhancement)
Tracking
(thunderbird68+)
Tracking | Status | |
---|---|---|
thunderbird68 | + | --- |
People
(Reporter: jorgk-bmo, Unassigned)
References
Details
(Whiteboard: [Thunderbird-disabled-test])
Comment 1•6 years ago
|
||
Comment 3•6 years ago
|
||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Just to confirm, the test still fails (as expected). We need to figure out if there is something that needs fixing here or if status quo is acceptable and we can just change the test.
So, this is related to the message header pane: is the subject field working as intended? Do you get a reasonable accessible role there?
Earlier the accessible name used to be prepended with "Subject: " for the actual header value. Is that needed now, or is the dom structure clear enough?
Comment 6•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #5)
Just to confirm, the test still fails (as expected). We need to figure out
if there is something that needs fixing here or if status quo is acceptable
and we can just change the test.So, this is related to the message header pane: is the subject field working
as intended? Do you get a reasonable accessible role there?
Yes. Subject is good. Unlikely the To field, Subject seems correctly described.
Earlier the accessible name used to be prepended with "Subject: " for the
actual header value. Is that needed now, or is the dom structure clear
enough?
I dont know, maybe Joanie or Samuel know
Comment 7•5 years ago
|
||
I tried a nightly build, ATM it is messy.
- For the From/To boxes the situation is the same. In at-spi we are seeing:
- label From
- unknown From
- label MyFromName
- unknown MyFromName
- label MyFromName
- image Add to Address Book
- unknown MyFromName
- label MyFromName
When focus is put by the user on the content of From or To fields, it's the unknown MyFromName object which shows as focused (and indeed the focus rectangle shows up around both the text and the image).
The label From has a label-for relation, but with the unknown From. It is thus not being useful for a screen reader (which shows the content of the focused object, the unknown MyFromName.
What we should ideally have instead is:
- the focus gets on the internal label MyFromName only, and that object should have role static, not label (since it is not labelling anything else)
- the label From should have a label-for relation with the two labels MyFromName and the image Add to Address Book
- the objects with unknown role should have role GROUPING (since AIUI their only purpose is to gather the content)
- For the Subject box, we are seeing
- label Subject
- unknown Subject
i.e. the content of the Subject isn't even exposed! The label has a label-for relation with the unknown Subject.
What we should ideally have instead is:
- label Subject
- unknown Subject
- static Content_of_the_subject
where the label Subject would have a label-for relation with the static Content_of_the_subject
Comment 8•5 years ago
|
||
Ergl, I should have used the Preview. My comment was meant to be separated in two:
- For the From/To boxes
- For the Subject box
I used different item characters (* vs -) for these two and for the object hierarchies, but apparently bugzilla mixed them
Updated•5 years ago
|
Updated•4 years ago
|
Description
•