Accessability
2025-01-08
Nuxt is planning to into an A11y Module for hinting and assistive technologies. See Nuxt Core Modules Roadmap.
Add to each layout.
<!-- Announce route changes to assistive technologies -->
<NuxtRouteAnnouncer />
Skeleton UI elements that get replaced once a third-party script (like video embed or payment modal) loads, thus reducing visual noise and improving performance.
a11y
feedback is rqd to inform the user when the script is loading or on failure to load.
<ComplicatedComponent>
<template #error>
<UAlert color="red" title="ComplicatedComponent to load" description="Refresh page to try again." />
</template>
</ComplicatedComponent>
<ComplicatedComponent>
<template #loading>
<ScriptLoadingIndicator />
</template>
</ComplicatedComponent>