Closed Bug 1272364 Opened 9 years ago Closed 9 years ago

[rep tests] Ensure that ARIA presentation role is handled correctly in reps

Categories

(DevTools :: Shared Components, defect, P1)

defect

Tracking

(firefox49 wontfix, firefox50 wontfix, firefox51 fixed)

RESOLVED FIXED
Firefox 51
Iteration:
51.3 - Sep 19
Tracking Status
firefox49 --- wontfix
firefox50 --- wontfix
firefox51 --- fixed

People

(Reporter: linclark, Assigned: gasolin)

References

Details

(Whiteboard: [reserve-html])

Attachments

(1 file, 1 obsolete file)

Currently the role attribute is set to presentation for most DOM nodes output by reps. This includes values that are output by reps. For example, the value of the strProp of the following object: > {strProp: "test string"} would output like this > <span class="objectBox objectBox-string" role="presentation">"test string"</span> Unless I misunderstand, this means that non-sighted users wouldn't hear the value of the property. This doesn't sound like the desired user experience. Honza, can you confirm how this should work and whether it is currently working as expected? If it is not, I suggest that we remove the role all together until we know what we want to apply it to.
Flags: needinfo?(odvarko)
Whiteboard: [devtools-html] [triage]
Blocks: 1264685
Agree, this isn't complete and we should do it right. For now we can remove it. Honza
Flags: needinfo?(odvarko)
Flags: qe-verify-
Priority: -- → P2
Summary: Ensure that ARIA presentation role is handled correctly in reps → [rep tests] Ensure that ARIA presentation role is handled correctly in reps
Whiteboard: [devtools-html] [triage] → [devtools-html]
No longer blocks: 1264685
Attached patch Bug1272364.patch (obsolete) — Splinter Review
Here's a patch, but we should probably wait to commit it until all of the affected reps have tests.
Priority: P2 → P3
Whiteboard: [devtools-html] → [reserve-html]
Priority: P3 → P2
lin, does this issue able to be fixed now?
Flags: needinfo?(lclark)
Yes, we just need to remove all ARIA roles for the time being.
Flags: needinfo?(lclark)
Assignee: nobody → gasolin
Status: NEW → ASSIGNED
Comment on attachment 8786246 [details] Bug 1272364 - [rep]Remove role presentation to let vision inpaired hear it; https://reviewboard.mozilla.org/r/75252/#review73134
Attachment #8786246 - Flags: review?(lclark) → review+
Comment on attachment 8786246 [details] Bug 1272364 - [rep]Remove role presentation to let vision inpaired hear it; https://reviewboard.mozilla.org/r/75252/#review73136 This looks good to me, but we should make sure it's green on try before committing.
treeherder green, thanks!
Keywords: checkin-needed
Attachment #8756124 - Attachment is obsolete: true
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/fx-team/rev/135621463dac [rep] Remove role presentation to let vision inpaired hear it. r=linclark
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Iteration: --- → 51.3 - Sep 12
Priority: P2 → P1
Too late for 49. Is this something that might be good to uplift for 50? If not then it's fine to let the fix ride the trains with 51.
Flags: needinfo?(gasolin)
Lin do you think its ok to let the fix ride the trains, or like to uplift it for 50?
Flags: needinfo?(gasolin) → needinfo?(lclark)
It's fine to ride the trains
Flags: needinfo?(lclark)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: