Closed Bug 1531243 Opened 6 years ago Closed 6 years ago

[a11y] Various unlabelled buttons and missing roles

Categories

(Tree Management :: Treeherder: Frontend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

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)

One more button that needs a role:

  • PinBoard (#pinboard-btn)

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).

Component: Treeherder → Treeherder: Frontend
Flags: needinfo?(sclements)
Priority: -- → P1
See Also: → 1513583

I've got too much on my plate at the moment, so passing to Cameron :)

Flags: needinfo?(sclements) → needinfo?(cdawson)

Sure, I can take this.

Assignee: nobody → cdawson
Status: NEW → ASSIGNED
Flags: needinfo?(cdawson)
Attachment #9047739 - Flags: review?(jteh)

I believe this will also fix Bug 1532049

See Also: → 1532049
Attachment #9047739 - Flags: review?(jteh)

This should head out to treeherder.allizom.org shortly. Then will go to production on our next prod push.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: