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:
@@ -10,12 +10,11 @@ import { FluksioLoader } from "@/components/ui/fluksio-loader"
|
|||||||
*/
|
*/
|
||||||
export function PageLoading() {
|
export function PageLoading() {
|
||||||
return (
|
return (
|
||||||
<output
|
<div
|
||||||
aria-label="Loading"
|
|
||||||
data-testid="page-loading"
|
data-testid="page-loading"
|
||||||
className="flex min-h-64 items-center justify-center"
|
className="flex min-h-64 items-center justify-center"
|
||||||
>
|
>
|
||||||
<FluksioLoader className="size-6 text-muted-foreground" />
|
<FluksioLoader className="size-6 text-muted-foreground" />
|
||||||
</output>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user