---
title: "Accessibility"
description: "What the packaged pages and components guarantee to people using a keyboard, a screen reader or speech input, the WCAG 2.2 AA contract, how it is tested, and what a replacement must keep."
canonical_url: "https://nuxt-backend.dev/docs/build/ui/accessibility"
---
# Accessibility

> What the packaged pages and components guarantee to people using a keyboard, a screen reader or speech input, the WCAG 2.2 AA contract, how it is tested, and what a replacement must keep.

Version: nuxt-backend 0.6.x · Tab: Build · Kind: concept · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

The packaged UI is built to work with a keyboard, a screen reader and speech input out of the
box, and the package's tests hold it there. This page says what it guarantees, what is tested,
and what stays yours. It is not a conformance claim: automated checks find some problems, not all
of them, and your app around the components is part of every page.

## What every component guarantees

- **Focus moves only when the person moved it.** When you advance a step (send a code, open a
rename field, switch workspaces), focus lands on what you act on next. A change the component
makes by itself leaves focus where it is.
- **Errors are tied to their field.** A refused field is `aria-invalid`, and `aria-describedby`
points at the sentence that says why, so a screen reader reads it on the field.
- **Controls are named by what they show, and placed in context.** A button's accessible name is
its words, so speech input finds it by what it says, in whatever words your labels or
translations give it. A row of the same words does not read as five "Subscribe"s: each sits in a
group named by what it acts on (a plan card, a workspace row, a charge, a gift), and that name
describes the button too.
- **Busy buttons keep focus and say what they wait for.** A busy button is `aria-disabled`, not
`disabled`, so focus stays on it; it reads *"Opening checkout…"* or *"Canceling…"*, never a bare
ellipsis, a status announces the same, and the part of the page that waits is `aria-busy`.
- **Live regions announce what changed.** Loading notes, empty notes and outcomes are polite
statuses, which wait their turn; a failure is an alert, which interrupts, with no empty note
beside it. A banner appears inside a live region that was there all along, so it is announced.
- **The page declares its language.** Every packaged page sets `<html lang>` to the active
locale, English without `@nuxtjs/i18n`.
- **Every field has a label.** A visible one, or an `aria-label` where the row has no room for one.
- **Keyboard focus is visible.** The module's stylesheet draws a focus ring, in the accent token,
on every button and link inside the packaged components. The billing links sit in your markup
and take your app's link styles, focus ring included.

## What each component guarantees

<table>
<thead>
  <tr>
    <th>
      Component
    </th>
    
    <th>
      Guarantee
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        <AuthForm>
      </code>
    </td>
    
    <td>
      Focus moves to the new step's first control when the person moved the form on, and stays put on the step it opens on; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; a refused field is <code>
        aria-invalid
      </code>
      
       and described by the refusal; the "Last used" mark describes its button and adds no stop; the sent-code note and the passkey offer are polite statuses, a failure an alert; the email field autocompletes as <code>
        username webauthn
      </code>
      
      , where the browser offers saved passkeys, and codes as one-time codes; the age question has a visible label and an empty field and never names the minimum, and the agreement line links each required document; an address the provider stopped delivering to reads as an alert, with the same words for every address, and a button back to the email field.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <WaitlistForm>
      </code>
    </td>
    
    <td>
      Every field has a visible label, and the launch-news box is unticked until the person ticks it; the sent-code note is a polite status, a refusal an alert that the refused field is described by and marks <code>
        aria-invalid
      </code>
      
      ; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for, and the wrapper is <code>
        aria-busy
      </code>
      
      ; the place is a polite status that reads in words, the honest words about admission sit beside it, and the share link is a labelled read-only field with a copy button; no names and no leaderboards are ever shown.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ConsentPrompt>
      </code>
    </td>
    
    <td>
      A required consent holds the page in a modal dialog named by its title, which Escape does not close; each consent is a checkbox with a visible label that names it, untouched until the person ticks it, and its document is a link beside it; a required one says so in words, and the button stays <code>
        aria-disabled
      </code>
      
       until every required box is ticked; the age field has a visible label and no hint of the minimum; the button keeps focus while the answer is saved (<code>
        aria-disabled
      </code>
      
      ) and says so, and a failure is an alert. The question about optional storage is a labelled region, not a wall, whose Allow and Decline are the same kind of button.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ProfileSettings>
      </code>
    </td>
    
    <td>
      Every field has a visible label; a refused address or code is <code>
        aria-invalid
      </code>
      
       and described by its hint and the refusal; focus moves to the code once the person asked for one; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; an outcome is a polite status, a failure an alert.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <SecuritySettings>
      </code>
    </td>
    
    <td>
      Each row's buttons are named after the passkey or the session they act on; the rename field is named and takes focus when the person starts a rename; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; when the button pressed goes with its action (a revoked session, a removed passkey, no other session left), focus moves to the outcome or the next button of its section; the session list's loading note is a polite status and its failure an alert; each alert is one sentence naming the device and the time, and its sign-out button names the device it signs out.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ReauthenticateDialog>
      </code>
    </td>
    
    <td>
      A native modal dialog named by its heading: it opens on its first control, keeps focus inside, closes on Escape or "Cancel", and gives focus back to the control that opened it; the code field has a visible label, autocompletes as a one-time code and is described by the sent-code note, a polite status; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; a failure is an alert. Nothing renders until a sensitive action asks.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ReferralCard>
      </code>
    </td>
    
    <td>
      A section named by its heading; the link is a read-only field with a visible label, described by the text shared with it, so it can be selected by hand where the clipboard is refused; "Copy link" says when it copied, and "Share" appears only where the browser has a share sheet; the friends it brought are a polite status; the choice to carry the code on shared pages is a checkbox with a visible label and a note; loading is a busy polite status, a failure an alert; nothing renders for a signed-out visitor.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AcceptInvitation>
      </code>
    </td>
    
    <td>
      Every message is a live region: an outcome a polite status, a dead link or a failure an alert; the wrapper is <code>
        aria-busy
      </code>
      
       while the invitation loads and while an answer is on its way, and the answering button says so and keeps focus (<code>
        aria-disabled
      </code>
      
      ).
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <PricingTable>
      </code>
    </td>
    
    <td>
      The monthly / yearly switch is a fieldset of radios sharing one name under a legend, so the arrow keys move between them and the choice is announced; the currency switch is a select inside its label, each currency named in the reader's language; a promotion is a line of text on each price it applies to, its name, its terms, the regular price after it and its end as a date, never a countdown or a struck-through price; each plan, pack and the contact card is a group named by its name, which also describes its buttons, so a row of the same words reads apart in any language; the current plan's "Cancel plan" says whether it is expanded and opens one group named by its first line, with what ends when and one button that cancels, nothing else; Escape or the same button closes it and keeps focus there, and once the cancellation went through focus stays on the plan's button; a subscriber's switch button says whether it is expanded and opens one group named by its question, with the price it moves to, when the switch happens and how the period settles in words, "Confirm switch" and "Not now"; Escape or "Not now" closes it and gives focus back to the button, and once the switch went through focus moves to the card's button; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ), says what it waits for, and a status announces it; loading, empty and "Plans open soon" (billing not launched on the deployment) are polite statuses, a failure an alert; the table is <code>
        aria-busy
      </code>
      
       while the plans load or an action runs; a member who manages no billing reads one note instead of buttons.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <BillingCheckoutLink>
      </code>
    </td>
    
    <td>
      A real link, named by your slot; <code>
        aria-busy
      </code>
      
       and <code>
        aria-disabled
      </code>
      
       while the checkout is being created, keeping focus; nothing at all for a caller who manages no billing.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <BillingPortalLink>
      </code>
    </td>
    
    <td>
      A real link, named by your slot; <code>
        aria-busy
      </code>
      
       and <code>
        aria-disabled
      </code>
      
       while the portal session is being created, keeping focus; nothing at all for a caller who manages no billing.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <BillingHistory>
      </code>
    </td>
    
    <td>
      Each charge is a group named by its date and description, which also describe its invoice button; loading and empty are polite statuses, a failure an alert with no empty note beside it; a busy invoice or pager button keeps focus (<code>
        aria-disabled
      </code>
      
      ), says what it waits for, and a status announces it; once no page is left in a pager button's direction, focus moves to the other one; <code>
        aria-busy
      </code>
      
       while a page or an invoice loads.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <UsageHistory>
      </code>
    </td>
    
    <td>
      Loading and empty are polite statuses, a failure an alert with no empty note beside it; <code>
        aria-busy
      </code>
      
       while a page loads; the pager button pressed keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says the page loads, a status announcing it, and once no page is left in its direction focus moves to the other one.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AuditLog>
      </code>
    </td>
    
    <td>
      Each event is one sentence with its time as a <code>
        <time>
      </code>
      
      , then what the sentence leaves out; loading and empty are polite statuses, a failure an alert with no empty note beside it; <code>
        aria-busy
      </code>
      
       while a page loads; the pager button pressed keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says the page loads, a status announcing it, and once no page is left in its direction focus moves to the other one.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AccountData>
      </code>
    </td>
    
    <td>
      Each section is a region named by its heading; the confirmation field has a visible label naming the address to type, and a hint it is described by, which says so when the address typed is not the account's, the field then <code>
        aria-invalid
      </code>
      
      ; the delete button stays focusable and <code>
        aria-disabled
      </code>
      
       until the address matches; Enter in the field schedules the deletion as the button does; once a deletion is scheduled the section says when it happens in words and offers one button that keeps the account; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for, and once the file is ready focus moves to its download link; the outcome is a polite status, a failure an alert; an administrator acting as the account reads a note instead of either control.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AdminUsers>
      </code>
    </td>
    
    <td>
      The accounts are a table with a header row, each row headed by its account, whose name also names its "View" button; the search is a labelled search field in a <code>
        search
      </code>
      
       landmark; "View" opens a native modal dialog named by the account, which takes focus on its close button, keeps it inside, closes on Escape or "Close" and gives focus back to the "View" pressed; every field in it has a visible label; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; an outcome is a polite status, a failure an alert; loading and empty are polite statuses; nothing at all for a caller who is no administrator.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AdminWorkspaces>
      </code>
    </td>
    
    <td>
      The workspaces are a table with a header row, each row headed by its workspace, whose name also names its "View" button; the search is a labelled search field in a <code>
        search
      </code>
      
       landmark; "View" opens a native modal dialog named by the workspace, which says it is read-only, takes focus on its close button, closes on Escape or "Close" and gives focus back; each member's "Impersonate" is named by the member; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; a failure is an alert; nothing at all for a caller who is no administrator.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <Gate>
      </code>
    </td>
    
    <td>
      Renders exactly one slot, so each state is as accessible as what you put in it; never the content while the checks load (the placeholder, on the server render too), and never the content or the fallback when the plan cannot be read. With <code>
        quota
      </code>
      
       and no slot of yours: loading is a busy polite status, a failed read an alert, and with no room left a polite status says how many are used of how many and names the plans that allow more, its one stop a real link, named by the plan it opens, or for a member who manages no billing who to ask instead.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <BackendNotices>
      </code>
    </td>
    
    <td>
      One region, empty while no notice applies, each notice inside it in order of importance: a complementary region named in words for an administrator's visit, for maintenance and for a scheduled deletion, never by colour alone, and polite live regions that announce low credits, a gift to claim and an announcement, each announcement a group named by its words with a Dismiss button that names it too; "Keep my account" keeps focus while the deletion is cancelled and says so; "Stop impersonating" keeps focus while the visit ends and says so; a dismissed notice leaves focus where it was, or on the next announcement's Dismiss button when its own went with it; a failure is an alert.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <UpgradePrompt>
      </code>
    </td>
    
    <td>
      The sentence is a polite status, so the plans it names are announced as they load, and the prompt is <code>
        aria-busy
      </code>
      
       until they have; the action is a real link, named by the plan it opens, and the one stop the prompt adds; a member who manages no billing reads who to ask instead, with no link.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <CancelFlow>
      </code>
    </td>
    
    <td>
      The flow is a region named by its heading; the reasons are a group of radio buttons named by the optional question, and the comment a field with a visible label; "Cancel my plan" is a button on every step and finishes at once; where no offer can stand, the question's own button says "Cancel my plan" and leads to a confirmation, a group named by the flow's heading with "Confirm cancellation" and "Back"; the offer is a polite status with its real terms, and its accept button looks like "Cancel my plan", with no countdown; the end is a status that says when the plan ends, with "Keep my plan"; Escape closes the flow except while a step is on its way; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; a failure is an alert.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <GiftForm>
      </code>
    </td>
    
    <td>
      A form named by its heading; what to give, which pack, which plan and for how long are each radios sharing one name under a legend; the recipient, the note and the day are fields inside their labels, the note and the day described by their hints; a refusal is an alert, and the field it names is <code>
        aria-invalid
      </code>
      
       and described by it; the send button says the price, or that a visitor signs in first, keeps focus while the checkout opens (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for; the return from a paid checkout is a polite status; nothing on sale to give is a status.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <GiftList>
      </code>
    </td>
    
    <td>
      The received and sent gifts are each a section named by its heading, every gift an entry with what it is, who it is from or for, its state in words and its date; each action is a button named by what it does, described by its gift; the recipient and date changes are fields inside their labels; an outcome is a polite status, a failure an alert; loading is a busy status.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <WithdrawalButton>
      </code>
    </td>
    
    <td>
      A real button labelled "Withdraw from contract here" that says what it controls; its confirm step is a group named by its question, with "Confirm withdrawal" and "Go back", and Escape goes back; the receipt is a status with the date and time; a busy button keeps focus and says what it waits for; a failure is an alert; nothing at all outside the withdrawal period or for a member who manages no billing.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <WorkspaceSettings>
      </code>
    </td>
    
    <td>
      Each workspace row is named by its name and slug, which also describe its switch button; the active row is <code>
        aria-current
      </code>
      
       and, in the default rows (not a <code>
        workspace
      </code>
      
       slot of yours), takes focus once a switch the person made has landed; the plan's state is words (a trial, a failed payment, a pause, a cancellation or a change and its date), never colour alone; "Cancel plan" says whether it is expanded and opens one group named by its heading, with what ends when and one button that cancels, nothing else; Escape or the same button closes it and keeps focus there, and once a cancellation went through focus moves to the plan's state; "Change plan" and "Pause plan" say whether they are expanded and each open one group named by its heading: the switch a select inside its label, then a group named by its question with the price, when the switch happens and how the period settles in words, "Confirm switch" and "Not now"; the pause what it does in words and its lengths as radios under a legend, "Confirm pause" and "Not now"; Escape closes either and gives focus back to its button, and once a switch or a pause went through focus moves to the plan's state; a busy button keeps focus, and a status announces what it waits for, the outcome, that the plan or the credits load, and that a purchase is being finished; the create field has a visible label; a failure is an alert.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AccessDenied>
      </code>
    </td>
    
    <td>
      A region named by its heading, which takes focus on the error page when the link that led there went away; the reason and the signed-in account are text, not colour; the switch-account button keeps focus while signing out (<code>
        aria-disabled
      </code>
      
      ) and says so; a failed sign-out is an alert.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ConnectionStatus>
      </code>
    </td>
    
    <td>
      An empty polite live region stays mounted, and the words appear in it once a drop has lasted the delay or the browser goes offline, so they are announced; nothing to press, since the client reconnects and sends the waiting changes on its own.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <NotificationInbox>
      </code>
    </td>
    
    <td>
      The button's accessible name carries the unread count ("Notifications, 3 unread"), and the badge beside it is hidden from assistive technology so the count is not read twice; the list is a non-modal popover named by its heading, which the browser closes on Escape and light dismiss and returns focus from to the button; an unread notification says so in a hidden word beside the dot, a notification without a place to go is a button that marks it read, and the first page loads in a polite status, an empty inbox says so in one, and a failure is an alert. A signed-out visitor gets nothing to press.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <UploadField>
      </code>
    </td>
    
    <td>
      The field is named by its visible label; the picker is a button that opens the browser's own file dialog, so the keyboard path needs no drop; while a file uploads it shows a labelled progress bar and a Cancel button, and the field is <code>
        aria-busy
      </code>
      
      ; each step (uploading, checking, done, canceled) is said in a polite status, and a refusal or a failure is an alert the input is described by; a failure adds a Try again button the alert describes.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ContactForm>
      </code>
    </td>
    
    <td>
      Every field has a visible label, and the message is described by a line that gives its length range and count; the honeypot is hidden from people and from assistive technology; the send button stays focused while the message is on its way (<code>
        aria-disabled
      </code>
      
      ) and says so; a persistent polite live region announces the sending and the confirmation, and a refusal is an alert the field it names is described by, worded to say what to do next.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AppShell>
      </code>
    </td>
    
    <td>
      The first stop is a skip link to the page; the header is the one banner landmark, the app's links sit in a navigation landmark named by the <code>
        navigation
      </code>
      
       label, and the page is the one <code>
        main
      </code>
      
       landmark. The account menu and the workspace switcher are disclosures on the browser's own popover: the button names the account or the workspace first and says what it opens, Escape or a click outside closes the panel and focus returns to the button, and the open state is <code>
        aria-expanded
      </code>
      
      . The current workspace is <code>
        aria-current
      </code>
      
       and says so in words, a role is a word and never a colour, and a switch, a creation and a sign-out are said in a polite status, a failure in an alert. A busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ).
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <OnboardingFlow>
      </code>
    </td>
    
    <td>
      The steps are an ordered list named by the <code>
        steps
      </code>
      
       label, the current one <code>
        aria-current="step"
      </code>
      
       and the done ones marked in words by their state, with the position in words ("Step 2 of 4") beside it; when the person moves on, focus moves to the new step's section so a screen reader starts at its heading, and a polite status says where they are; every field has a visible label, a refused picture address is <code>
        aria-invalid
      </code>
      
       and described by its hint; a busy button keeps focus (<code>
        aria-disabled
      </code>
      
      ) and says what it waits for, the flow is <code>
        aria-busy
      </code>
      
      , a failure is an alert, and every step can be skipped from the keyboard.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <ActivationChecklist>
      </code>
    </td>
    
    <td>
      It is a region named by its title; the progress is the native <code>
        <progress>
      </code>
      
       named "Progress" with the count in words ("2 of 4 done"); each task is a list item that says done or to do in words, never by its mark alone, and an open task is a link named by its label; the Dismiss button keeps focus while it runs (<code>
        aria-disabled
      </code>
      
      ) and says so; the congratulation is a polite status in a region that stays mounted so it is announced, and an administrator's read-only view says so in place of the button.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <HowDidYouHear>
      </code>
    </td>
    
    <td>
      It is a form named by its question, the answers a radio group in a fieldset whose legend is the question and whose hint describes each answer; the "Somewhere else" field appears once its answer is picked, with a visible label; Continue keeps focus while it saves (<code>
        aria-disabled
      </code>
      
      ) and says so, and Skip waits with it; a failure is an alert, and the thanks, the note to someone who answered before and the loading are a polite status in a region that stays mounted.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <AiLabel>
      </code>
    </td>
    
    <td>
      Plain text that says the content is AI-generated, never a colour or an icon alone; with a provenance record it is a button that opens its details as a native popover (opened and closed by the keyboard, Escape closing it and focus returning to the button), a dialog named by its heading, whose verify link says where it goes.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalProcessors>
      </code>
    </td>
    
    <td>
      A table whose column headers and row headers (each processor's name) are <code>
        th
      </code>
      
       cells with their scope, so a screen reader names the column and the processor of every cell; it scrolls sideways inside its own box on a narrow screen rather than squeezing; each agreement is a link that says it is one, described by its processor's name, so a column of them reads apart.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalStorage>
      </code>
    </td>
    
    <td>
      A table whose column headers and row headers (each cookie's or key's name, as code) are <code>
        th
      </code>
      
       cells with their scope; whether an item waits for permission is a word in its own column, never a colour.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalDetail>
      </code>
    </td>
    
    <td>
      Inline text inside the sentence it completes; a contact is a link whose name is the address itself, and a link that leaves the site opens apart; an unset detail renders nothing, and in development a marked note naming the key.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalVersion>
      </code>
    </td>
    
    <td>
      Inline text inside the sentence it completes, rendered only once the deployment answers, so it never reads a placeholder; in development a marked note names a kind the backend does not declare.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalContactPoints>
      </code>
    </td>
    
    <td>
      A description list whose terms say who each contact is for and whose details hold the contact, a link whose name is the address itself; the languages are words in the reader's language, never flags; with no contact set it renders nothing.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        <LegalModeration>
      </code>
    </td>
    
    <td>
      Plain sentences, then a table whose column headers and row headers (each tool's name) are <code>
        th
      </code>
      
       cells with their scope; how a tool decides is a word in its own column, never a colour.
    </td>
  </tr>
</tbody>
</table>

`<StorageImage>` renders an `<img>` with the attributes you pass: give it an `alt` that says what
the image shows, or `alt=""` when it is decoration.

## The contract: WCAG 2.2 AA

The packaged UI targets [WCAG 2.2](https://www.w3.org/TR/WCAG22/) at level AA, the level the European Accessibility Act points to through its harmonised standard (checked on 2026-10-25). Beyond the guarantees above, 2.2 adds what the components keep:

- **Focus not obscured (2.4.11).** The notices region, the shell's header and the connection status never cover the focused control.
- **Target size (2.5.8).** Every control is at least 24 by 24 CSS pixels, or spaced as the criterion allows.
- **Dragging movements (2.5.7).** Drag and drop in `<UploadField>` always has a click or keyboard path.
- **Accessible authentication (3.3.8).** Sign-in asks for no memorized secret and no puzzle: a passkey, or a code the browser can fill as a one-time code and the person can paste.
- **Redundant entry (3.3.7).** A step never asks again for what the person already typed in the same flow.

The headless composables carry the same attributes in their bindings, and `#backend/a11y` exports the helpers the components use (`useActionState`, `useFocusReturn`, `useLiveRegion`), so your own markup can keep the contract ([Build on the composables](https://nuxt-backend.dev/docs/build/ui/customize/headless)). The `accessibility` page key serves an accessibility statement you fill in ([Meet the European Accessibility Act](https://nuxt-backend.dev/docs/ship/compliance/accessibility)). Not legal advice.

## What is tested

- **The component contract**, on every component in every state its row lists
([Components](https://nuxt-backend.dev/docs/reference/components) has them):

  - every element carries the component's `data-*` family;
  - every control has an accessible name with a word in it, and a name set by `aria-label` starts
  with the words the control shows;
  - two enabled buttons share a name only in differently named groups or with different
  descriptions, and every `aria-describedby` points at an element that exists;
  - loading is `aria-busy` with a status that says so in words; empty is a status or nothing at
  all; a failure is an alert with no empty note beside it; a pending action is `aria-busy`;
  - a button pressed into its pending state keeps focus, is `aria-disabled` and says something
  new;
  - a refused caller sees none of the controls they may not use;
  - every slot renders in some state.
- **An axe-core smoke** on the starter app's production build, in a real browser, in the light and
the dark scheme: `/login` at each step a signed-out visitor reaches (choosing a way in, asking
for a code, entering it), `/pricing`, and the page guard's 403 with `<AccessDenied>`, signed in.
It runs every non-experimental WCAG 2.0, 2.1 and 2.2 rule at levels A and AA that axe-core has,
contrast included, and fails on any violation, and on any contrast check axe could not finish.
Each new module page adds its steps to it.

Neither replaces a person with a screen reader. Report what you find on
[GitHub](https://github.com/qruto/nuxt-backend/issues).

## What a replacement must keep

When you replace a region through a [slot](https://nuxt-backend.dev/docs/build/ui/customize/slots) or rebuild a page from the
composables, the guarantees above are yours to keep for that region:

- name every button by its words, and put a repeated one in a group named by what it acts on;
- keep focus on a busy button (`aria-disabled`, not `disabled`), say what it waits for, and
mark the waiting region `aria-busy`;
- announce loading and empty as a status and a failure as an alert;
- tie a field's error to it with `aria-invalid` and `aria-describedby`;
- move focus only when the person moved on.

## What this means for you

The document around the components is yours. The packaged pages declare their language; declare
it for your own pages (`app.head.htmlAttrs.lang` in `nuxt.config`, or `@nuxtjs/i18n`'s locale
head). Declare `color-scheme` on the root so the tokens follow light and dark, and give the page
an explicit background and text colour (`background: Canvas; color: CanvasText` follows the
scheme), so a contrast checker reads the real pair rather than assuming white. Keep a `<main>`
landmark where your layout has one: the packaged pages render theirs. When you restyle with
[tokens](https://nuxt-backend.dev/docs/build/ui/customize/tokens), check the contrast of your own colours: the defaults pass
WCAG 2.2 AA in both schemes, yours have to as well. The pages around the components, your copy and
your images are part of every page an audit reads: the statement says what you checked.

In 0.2.0 the four boundaries became one [gate](https://nuxt-backend.dev/docs/build/ui/gate) and the four banners one
[notices region](https://nuxt-backend.dev/docs/build/ui/notices), each keeping the guarantees of its rows above, and the agent
consent screen left with the end-user MCP endpoint. The new components, such as the
[app shell](https://nuxt-backend.dev/docs/build/ui/app-shell) and the [upload field](https://nuxt-backend.dev/docs/build/data/files/checked-uploads), join the
table with their own rows when they land, and the smoke with their pages.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
