From ab8745249bbb9844b14e3a01b56dc0bb272d31be Mon Sep 17 00:00:00 2001 From: Stuart Anderson Date: Wed, 30 Sep 2026 11:39:36 -0500 Subject: [PATCH] fix(a11y): make the hidden selection bar inert, not just aria-hidden The bar stays mounted while hidden, for its fade and size measuring. aria-hidden removed it from the accessibility tree but left its eight buttons in the tab order, which axe reports as aria-hidden-focus and which strands keyboard and gamepad focus on invisible controls. inert removes both, and the hidden bar already ignored pointer events, so mouse and touch behave as before. Co-Authored-By: Claude Opus 5.5 --- frontend/src/v2/components/Gallery/SelectionBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/v2/components/Gallery/SelectionBar.vue b/frontend/src/v2/components/Gallery/SelectionBar.vue index d261540c1..384e06918 100644 --- a/frontend/src/v2/components/Gallery/SelectionBar.vue +++ b/frontend/src/v2/components/Gallery/SelectionBar.vue @@ -350,7 +350,7 @@ function clear() { ref="barEl" class="selection-bar" :class="{ 'selection-bar--visible': selection.enabled }" - :aria-hidden="!selection.enabled" + :inert="!selection.enabled" >