diff --git a/frontend/src/lib/geschichte/JourneyEditor.svelte b/frontend/src/lib/geschichte/JourneyEditor.svelte index 458520b4..a0a4da72 100644 --- a/frontend/src/lib/geschichte/JourneyEditor.svelte +++ b/frontend/src/lib/geschichte/JourneyEditor.svelte @@ -155,6 +155,10 @@ async function handleMoveUp(index: number) { newPosition: index }); await handleReorder(ids); + // Clear so the live region does not re-announce on unrelated DOM mutations + setTimeout(() => { + liveAnnounce = ''; + }, 500); } async function handleMoveDown(index: number) { @@ -167,6 +171,10 @@ async function handleMoveDown(index: number) { newPosition: index + 2 }); await handleReorder(ids); + // Clear so the live region does not re-announce on unrelated DOM mutations + setTimeout(() => { + liveAnnounce = ''; + }, 500); } async function save(nextStatus: 'DRAFT' | 'PUBLISHED') { @@ -237,6 +245,7 @@ async function save(nextStatus: 'DRAFT' | 'PUBLISHED') {

{/if} +
{m.journey_empty_state()}

{/if} {#each items as item, i (item.id)} +