Announce the pending screen once, not twice

The loader carries its own role="status" and label, so the <output> around
it was a second live region saying the same word.
This commit is contained in:
2026-08-28 15:38:25 +02:00
parent 224ef37524
commit 7a2e0dff99
+2 -3
View File
@@ -10,12 +10,11 @@ import { FluksioLoader } from "@/components/ui/fluksio-loader"
*/
export function PageLoading() {
return (
<output
aria-label="Loading"
<div
data-testid="page-loading"
className="flex min-h-64 items-center justify-center"
>
<FluksioLoader className="size-6 text-muted-foreground" />
</output>
</div>
)
}