From 8a6e5543c03dd37838076dcd8b2f8be84d5592e5 Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 11:51:47 +0000 Subject: [PATCH] Localise the region link's screen-reader label The new hardcoded-English gate found this in its first run over the production plugins: an aria-label built by concatenation, so a screen-reader user on a non-English locale heard "Open the" and "dashboard" in English around a region name in their own language. It uses the key the regions list already uses for the same sentence, which is translated in all eleven locales, so the label now reads as one sentence rather than two languages spliced together. Found by the gate in the plugin that wrote it, which is the argument for making it shared rather than private. --- .../regions-dashboard/region-dashboards.vue | 2 +- public/dx-maps/doxa-maps-spa/manifest.json | 8 +-- public/dx-maps/manifest.json | 8 +-- .../region-dashboards/index.html | 2 +- .../regions-dashboard/regions-dashboard.js | 62 +++++++++---------- .../regions-dashboard/regions-list/index.html | 2 +- .../regions-dashboard/regions-mfe/index.html | 2 +- 7 files changed, 43 insertions(+), 43 deletions(-) diff --git a/plugin-designs/regions-dashboard/region-dashboards.vue b/plugin-designs/regions-dashboard/region-dashboards.vue index d5f4bbd9c..acec9233d 100644 --- a/plugin-designs/regions-dashboard/region-dashboards.vue +++ b/plugin-designs/regions-dashboard/region-dashboards.vue @@ -1096,7 +1096,7 @@ useShadowStyles(