Swap sidebar attention requests source order
What does this MR do and why?
For #351840 (closed)
Because the announced text of the sidebar assignees/reviewers is based on the source order, this MR reverses the order of the user & their attention request icon.
A screen reader should then announce who it is before announcing an action (e.g. "Request attention").
Screenshots or screen recordings
There's no change in the visual display, but the source order for the attention icon and the user avatar are flipped from the visual representation.
Before | After |
---|---|
How to set up and validate locally
I've never been able to get a screenreader to work in a way I would assume is correct (almost all content is silent), so I'm not sure.
However, the pre-requisites for this feature are:
- Enable the
mr_attention_requests
feature flag - Create a merge request with an assignee or a reviewer (or both)
- Optionally toggle any statuses of one of those users (like approving the MR with a reviewer, requesting attention from them, etc.)
- ?? (this is where the screen reader would announce the content on-screen)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.