[a11y] Various unlabelled buttons and missing roles
Categories
(Tree Management :: Treeherder: Frontend, defect, P1)
Tracking
(Not tracked)
People
(Reporter: Jamie, Assigned: camd)
References
Details
(Keywords: access)
Attachments
(1 file)
These are a bunch of small (but nevertheless annoying) issues, so I thought I'd file them in a single bug rather than filing several little tiny bugs. Let me know if any of them need to be split out.
The following elements have no label. They have title attributes, but the content overrides the title for a11y. This can be fixed with an aria-label attribute.
- Cancel all jobs (.cancel-all-jobs-btn)
- Unwatch (.watched-repo-unwatch-btn). Probably also applies to other watch related buttons, but I couldn't make this happen at time of writing.
- Open the raw log in a new window (.raw-log-icon)
The following elements have no role. They should get role="button" or similar (or they should be native HTML controls).
- Login/register
- Add this job to the pinboard (#pin-job-btn)
- Repeat the selected job (#retrigger-btn)
- Other job actions (#actionbar-menu-btn)
Reporter | ||
Comment 1•6 years ago
|
||
One more button that needs a role:
- PinBoard (#pinboard-btn)
Comment 2•6 years ago
|
||
Hi! Thank you for the detailed bug report - that's really helpful. Sorry we're missing these.
Sarah, would you mind taking a look at this? I suspect fixing this would get us most of the way towards being able to enable the rest of the ESLint React accessibility rules (bug 1513583).
Comment 3•6 years ago
|
||
I've got too much on my plate at the moment, so passing to Cameron :)
Assignee | ||
Comment 4•6 years ago
|
||
Sure, I can take this.
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
I believe this will also fix Bug 1532049
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
This should head out to treeherder.allizom.org shortly. Then will go to production on our next prod push.
Description
•