From e3f57426e4a09c1206be413e63dedb79bc6145d1 Mon Sep 17 00:00:00 2001 From: Dennis Jakobsen Date: Thu, 17 Sep 2026 06:52:00 +0200 Subject: [PATCH] test(a11y): gate the foreign-traffic, wardriving and areas analytics tabs test-a11y-axe-routes-coverage.js (#1706) requires every data-tab button in public/analytics.js to be exercised by the axe gate. The Foreign Traffic, Wardriving and Areas tabs were added afterwards without ROUTES entries, so the coverage check failed and the axe gate never scanned them. Add the three routes and register the tabs so the selftest's dispatch-arm reciprocity also covers them. Co-Authored-By: Claude Opus 5 --- test-a11y-axe-1668.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test-a11y-axe-1668.js b/test-a11y-axe-1668.js index f260ff5f3..a30ab88d4 100644 --- a/test-a11y-axe-1668.js +++ b/test-a11y-axe-1668.js @@ -80,6 +80,9 @@ const ROUTES = [ '/analytics?tab=prefix-tool', '/analytics?tab=my-repeaters', '/analytics?tab=repeater-metrics', + '/analytics?tab=foreign-traffic', + '/analytics?tab=wardriving', + '/analytics?tab=areas', '/audio-lab', ]; @@ -95,7 +98,7 @@ const REGISTERED_ANALYTICS_TABS = [ 'overview', 'rf', 'topology', 'channels', 'hashsizes', 'collisions', 'subpaths', 'nodes', 'distance', 'neighbor-graph', 'rf-health', 'clock-health', 'roles', 'prefix-tool', 'scopes', 'my-repeaters', - 'repeater-metrics', + 'repeater-metrics', 'foreign-traffic', 'wardriving', 'areas', ]; const THEMES = ['dark', 'light'];