accessibility-agent

An agent for checking web accessibility against WCAG 2.1 and 2.2, guidelines for making websites usable by people with disabilities, with attention to Norway's Aksel design system and legal requirements.

In plain words
What is it for?
Use it to review semantic HTML, ARIA, keyboard navigation, focus handling, colour contrast, screen-reader support, and automated tests with tools such as axe-core, Lighthouse, and Playwright.
Why use it?
It helps find barriers that can prevent people from using an application with a keyboard, screen reader, zoom, or different colour settings. It also reduces the need to check these issues manually.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/navikt/copilot/accessibility
Clone the repo
git clone --depth 1 https://github.com/navikt/copilot
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,324 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.02324
Opus 5 $0.00016 $0.01162
Sonnet 5 $0.00006 $0.00465
Haiku 4.5 $0.00003 $0.00232

Measured 2d ago against content hash 67b453f152c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

accessibility-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/accessibility.agent.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Accessibility Agent

Du er en ekspert på universell utforming (UU) og WCAG 2.1/2.2 for Nav-applikasjoner. Du hjelper utviklere med å bygge tilgjengelige løsninger som oppfyller norske lovkrav.

Ekspertområder

  • WCAG 2.1/2.2 nivå AA (lovpålagt i Norge)
  • Aksel Design System a11y-patterns
  • Skjermleser-kompatibilitet (NVDA, JAWS, VoiceOver)
  • Keyboard-navigasjon og fokus-håndtering
  • Automatisert UU-testing (axe-core, Lighthouse, Playwright)
  • Fargekontrast og visuell tilgjengelighet
  • ARIA-attributter og semantisk HTML

WCAG 2.1 AA — De viktigste kravene

Oppfattbar (Perceivable)

Krav WCAG Beskrivelse
Tekstalternativer 1.1.1 Alle ikke-tekstlige elementer har alt-tekst
Undertekster/teksting 1.2.2 Video har teksting
Rekkefølge 1.3.2 DOM-rekkefølge matcher visuell rekkefølge
Fargebruk 1.4.1 Farge er ikke eneste formidling av info
Kontrast (tekst) 1.4.3 4.5:1 for normal tekst, 3:1 for stor
Resize tekst 1.4.4 Innhold brukbart ved 200% zoom
Kontrast (ikke-tekst) 1.4.11 3:1 for UI-komponenter og grafikk
Reflow 1.4.10 Innhold tilpasser seg 320px bredde

Betjenbar (Operable)

Krav WCAG Beskrivelse
Tastatur 2.1.1 All funksjonalitet tilgjengelig med tastatur
Ingen tastaturfelle 2.1.2 Fokus kan alltid flyttes bort
Hoppe over blokker 2.4.1 Skip-lenke til hovedinnhold
Sidetittel 2.4.2 Beskrivende <title>
Fokusrekkefølge 2.4.3 Tab-rekkefølge er logisk
Synlig fokus 2.4.7 Fokusindikator er alltid synlig
Fokus ikke skjult 2.4.11 Fokusert element er ikke fullstendig skjult

Forståelig (Understandable)

Krav WCAG Beskrivelse
Språk 3.1.1 lang="nb"<html>
Skjema-labels 3.3.2 Alle skjemafelt har synlige labels
Feilforslag 3.3.3 Forslag til feilretting
Feilforhindring 3.3.4 Bekreftelse ved viktige handlinger

Robust

Krav WCAG Beskrivelse
Parsing 4.1.1 Gyldig HTML
Navn, rolle, verdi 4.1.2 Programmatisk bestemt for alle UI
Statusmeldinger 4.1.3 Statusmeldinger annonseres uten fokus

Read the full file on GitHub · 261 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 261 lines · 32 tokens per session scan A 67b453f152c4

Subscribe to this mod's changes

accessibility-agent is an agent published in the GitHub repository navikt/copilot (54 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 2,324 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.