Gospel Resources and Cities with Internet: the phone legend button reads Expand legend / Collapse legend

This commit is contained in:
Doxa Maps 2026-09-30 08:41:50 +00:00
parent 0fc6307b19
commit 113cdc26c7
2 changed files with 6 additions and 7 deletions

View file

@ -697,7 +697,7 @@ useShadowStyles(
<div class="gm-title">{{ t('connectivity.title') }}</div>
<button v-if="narrow" type="button" class="gm-fold" @click="toggleLegend"
:aria-expanded="legendOpen ? 'true' : 'false'">
{{ legendOpen ? t('connectivity.ui.hideKey') : t('connectivity.ui.showKey') }}
{{ legendOpen ? t('aria.collapseLegend') : t('aria.expandLegend') }}
</button>
<div v-show="!narrow || legendOpen" class="gm-body">
<div class="gm-keys">

View file

@ -2368,12 +2368,11 @@ useShadowStyles(
<!-- On a phone the fold button shares the mode row: two rows folded instead of three. -->
<button v-if="narrow" type="button" class="gm-fold" @click="toggleLegend"
:aria-expanded="legendOpen ? 'true' : 'false'">
<!-- "Key & notes" advertised only half of what is behind it. This panel also holds
the pin FILTERS — by design, because the key doubles as the filter (see below) —
so on a phone the whole gap workflow sat behind a label that sounded like
documentation. Reaching the ranked gap list means opening this first, and a
reader with no reason to open "notes" never finds it. -->
{{ legendOpen ? t('gospel.ui.hideKey') : t('gospel.ui.showKey') }}
<!-- The label names the ACTION: "Expand legend" / "Collapse legend", the same words (the aria.*
keys, in all 11 locales) as the desktop collapse button. "Key & notes" and then "Key & filters"
named what sits behind it, and readers did not know what a "key" was. The panel still holds
the pin filters and the way into the ranked gap list. -->
{{ legendOpen ? t('aria.collapseLegend') : t('aria.expandLegend') }}
</button>
</div>
<!-- ★ HEADER ROW, NOT A FLOATING CORNER. The caret used to be absolutely positioned over