Add descriptive labels to line numbers in Rapid Diffs
What does this MR do and why?
This MR adds more descriptive labels to line numbers in Rapid Diffs.
Fixes: #466593 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-05-07_at_18.05.39 | Screen_Recording_2025-05-07_at_18.00.47 |
How to set up and validate locally
- Enable
rapid_diffsandrapid_diffs_on_mr_showfeature flags - Go to any merge request
- Select 'Changes' tab
- Add
?rapid_diffs=trueto the URL, follow it - Navigate through diff file using screen reader
- Observe that diff line numbers are properly announced