Skip to content

Commit 921c46a

Browse files
committed
fix(ui): keep the server errors status read after the list clears
The status line that confirms Clear server errors sat inside the section that renders only while there are errors, so it left the page with the list and the confirmation was never read. It now stays mounted outside the section.
1 parent fa67e7e commit 921c46a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎app/src/pages/server-errors-section.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ export function serverErrorPlace(group: ServerErrorGroup): string {
103103
</li>
104104
}
105105
</ol>
106-
<p class="sr-only" role="status">{{ status() }}</p>
107106
</section>
108107
}
108+
<!-- Outside the section, so the confirmation is still read once the list is gone. -->
109+
<p class="sr-only" role="status">{{ status() }}</p>
109110
`,
110111
styles: `
111112
@use 'mixins' as m;

0 commit comments

Comments
 (0)