Loading
Keep DAP Impact panels reachable by keyboard
What does this MR do and why?
- Raises New vs returning and Credits over time so their charts no longer clip a strip only a pointer can scroll (WCAG 2.1.1). Cost per merged change was the third clipped panel; !259230 (merged) has since removed it.
- Adds the sticky filter bar's scroll padding to
.panel-content-inner, the element that scrolls in the paneled layout, so focus no longer lands under the bar (WCAG 2.4.11). - Makes a footer panel's body a tab stop only while it overflows.
References
- https://gitlab.com/gitlab-org/gitlab/-/work_items/631707
- https://gitlab.com/groups/gitlab-org/-/work_items/23429
Screenshots or screen recordings
GDK, test-gitlab-org, last 30 days, on the current master layout. Before is master, after is this MR:
- Shift+Tab to the Credits consumed Actions button: before, the page scrolls it under the sticky filter bar; after, it stops below the bar with a visible ring. Hidden stops across the four tabs: 28 before, 0 after.
- The clipped strips held the bottom of New vs returning and the second legend row of Credits over time, which now show. axe
scrollable-region-focusable: 2 before, 0 after.
How to set up and validate locally
- Open
/explore/analytics_dashboards/dap_impacton a group with DAP data. - On each tab, Shift+Tab up from the bottom of the page: each focused control stays below the filter bar.
- Scroll to the bottom of New vs returning (Adoption) and Credits over time (Spend): nothing is clipped.
Edited by Ezekiel Kigbo
