Add a `role="main"` attribute to the output element
Categories
(DevTools :: Console, enhancement, P1)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: E_Carr, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
By removing the button to toggle the filter bar in Bug 1523861, we made it more difficult to navigate to the output for people navigating with the keyboard.
Setting a proper role on the output element should help people access the output more easily.
So in devtools/client/webconsole/components/ConsoleOutput.js#197-202, we should add:
dom.div({
className: "webconsole-output",
role: "main", // This is the added property.
When working on this bug, make sure the role
attribute is added in the console markup by using the Browser Toolbox.
Assignee | ||
Comment 1•6 years ago
|
||
(In reply to Nicolas Chevobbe from comment #0)
By removing the button to toggle the filter bar in Bug 1523861, we made it more difficult to navigate to the output for people navigating with the keyboard.
Setting a proper role on the output element should help people access the output more easily.
So in devtools/client/webconsole/components/ConsoleOutput.js#197-202, we should add:
dom.div({ className: "webconsole-output", role: "main", // This is the added property.
When working on this bug, make sure the
role
attribute is added in the console markup by using the Browser Toolbox.
Hello again Nicolas, could I please be assigned this bug? Thank you.
Reporter | ||
Comment 2•6 years ago
|
||
Sure Erik, just did :) Thanks for taking this bug!
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Added a role=main attribute to address accessability within the browser console.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Description
•