Closed
Bug 1455513
Opened 6 years ago
Closed 6 years ago
[a11y] Console input area should not be treated as a live region
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox-esr52 unaffected, firefox59 unaffected, firefox60 unaffected, firefox61 fixed)
RESOLVED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | --- | fixed |
People
(Reporter: Jamie, Assigned: nchevobbe)
References
Details
(Keywords: access, regression)
Attachments
(1 file)
STR (with the NVDA screen reader): 1. Start NVDA and Firefox. 2. Open the Web Console with control+shift+k. 3. Ensure NVDA's speak typed characters function is off by pressing NVDA+2 until it reports as off. 4. Type "z" (no quotes). Expected: NVDA shouldn't say anything. Actual: NVDA says "z". The input textarea (class: jsterm-input-node) is now inside the element with the aria-live attribute (id: output-container), so it inherits aria-live. Previously, it was outside the aria-live element. This can be fixed by just setting aria-live="off" on the textarea. I'm not exactly sure when this regressed, but it works as expected in Firefox 60.
Assignee | ||
Comment 1•6 years ago
|
||
This was probably caused by Bug 1425521 (which also mean we should have a test for that)
Assignee | ||
Comment 2•6 years ago
|
||
James, I'm trying to fix this, and I set the aria-live attribute to off on the .jsterm-input-container element. It seems to propagate to the textareas since I can inspect them with the accessibility tool and see that "container-live" is "off". I'd like to have a test for that so we don't regress anymore, but I can't find a way to check for this "container-live" attribute in js. Would you know how I can do that ?
Reporter | ||
Comment 3•6 years ago
|
||
Unfortunately, container-live is generated internally by the accessibility engine. As far as I know, there's no way to access that from js.
Assignee | ||
Comment 4•6 years ago
|
||
Okay, thanks. I guess I'll go with a function that walk up the dom tree until it finds an "aria-live" attribute and check it's off (or that there's no parent with aria-live).
Comment hidden (mozreview-request) |
Reporter | ||
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8970116 [details] Bug 1455513 - Do not treat jsterm as a live region; . https://reviewboard.mozilla.org/r/238912/#review244848 Looks good, and I Tested locally and it works. Thanks!
Attachment #8970116 -
Flags: review?(jteh) → review+
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b851036974d Do not treat jsterm as a live region; r=Jamie.
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b851036974d
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Blocks: 1425521
status-firefox59:
--- → unaffected
status-firefox60:
--- → unaffected
status-firefox-esr52:
--- → unaffected
No longer depends on: 1425521
Flags: in-testsuite+
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•