fix(planner): distinct aria-label for export dropdown toggle

The restyled Export split-button's dropdown toggle got aria-label
"Export GPX", colliding with the main button's text and breaking the
E2E selector that clicked the old "▾" glyph. Give it a dedicated
exportOptions label (en + de) and target it in the E2E test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-07-16 00:43:30 +02:00
parent 1d3ba956cb
commit 3603624b70
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
4 changed files with 4 additions and 2 deletions

View file

@ -68,7 +68,7 @@ export function ExportButton({ yjs }: { yjs: YjsState }) {
</button>
<button
onClick={(e) => { e.stopPropagation(); setOpen((v) => !v); }}
aria-label={t("exportGpx")}
aria-label={t("exportOptions")}
aria-expanded={open}
className={`${split} rounded-r-md px-2 text-text-md`}
>