Next.js accessibility audit checklist for automated and manual testing

An accessibility audit is a structured review of a website or app. Its scope sets out which parts of the experience need review. The process covers both finding barriers and checking their fixes.1
Audit planning and scope
A scan alone is not a full accessibility audit. A full audit also needs expert manual review and testing with assistive tools.1
The process includes written findings, a plan for fixes and repeat testing. Before work starts, agree who will run the audit and act on its findings.1
Define the site or app in scope, then choose page types, templates and shared components. Include key journeys such as sign-up, login, search, checkout and form submission.1
Include images, video, audio, documents and files people can download. State which mobile views are in scope. Record any parts left out and why.1
Choose the WCAG version and level before testing, such as WCAG 2.2 Level AA. The product and its market may also bring Section 508 or EN 301 549 into scope.1
Record any legal or contract requirements that apply. Agree which standards will be used to judge findings. Decide whether the team has enough expertise to run the audit in-house.1
Automated checks in Next.js
The Next.js ESLint setup uses eslint-config-next/core-web-vitals, which includes eslint-plugin-jsx-a11y. These rules help catch accessibility issues early in development.2
Install ESLint with pnpm add -D eslint eslint-config-next. Create eslint.config.mjs in the project root and configure it to use eslint-config-next/core-web-vitals. Add the lint script to package.json, then run pnpm lint.2
The JSX rules flag images that lack an alt prop. They also warn about incorrect use of aria-* and role attributes.2
An image warning calls for meaningful text or an empty string for a decorative image. Running pnpm lint again shows the warning when an image lacks its alt prop.2
Run npx accessscore https://your-site.com for a scan without a local install. Its output includes a score, a grade and the top issues.3
A GitHub Actions workflow can run the scan on pull requests. Place the workflow in .github/workflows/a11y.yml and set its URL to the preview site.3
A Vercel preview URL allows each pull request to have its own result. The action posts results as a pull request comment. It fails the check when the score falls below the chosen threshold.3
Manual checks for layouts and components
Check that layout.tsx sets a document language on the html element through lang. Include a skip-to-content link as the first element in the body. The link uses href="#main" and becomes visible on focus.3
Check each next/image component for an alt prop. Images that convey meaning need descriptive text. Purely decorative images need an empty string instead.2, 3
Use form elements such as input and option, rather than div elements in their place. These give assistive tools context and let them focus on the form inputs.2
Each field needs a descriptive label linked through htmlFor. Match that value to the input's id. This also lets users click the label to focus the field.2, 3
Check that clickable controls are large enough to activate easily. They must not demand precise mouse movements.4
Press tab to check that form fields show a visible focus outline. The outline shows which field is active.2
Give shared OpenGraph images descriptive text through og:image:alt. The text describes what the image represents. Twitter also supports twitter:image:alt, but gives a title priority over image alt text.4
Check that colour is not the only way the interface shows state. Review motion and animation against the accessibility requirements chosen for the audit.1, 4
Screen readers and assistive tools
The axe Browser Extension provides automated checks and explains the rules. Browser developer tools also include features for accessibility work.4
Add hands-on screen reader testing to these tools. Assistive technology testing reveals barriers people may face in real use. Different tools can expose different barriers.1, 4
Choose screen readers and platforms based on users, supported environments and audit scope. Relevant pairs may include JAWS or NVDA on Windows. VoiceOver on Apple platforms is another option.1
Review alerts and changing content to check that updates are conveyed accessibly. Screen reader users need a descriptive account of state, not just visual cues.1, 4
Semantic radio inputs with labels and image descriptions support keyboard use and provide context for assistive tools. The table element provides a standard structure and navigation for visual and screen reader users.4
Make the audit part of ongoing work, not a one-off task. Repeat the relevant checks as the site changes. Include accessibility in development, design, content and QA workflows.1
Keep a consistent process for recording barriers, setting priorities and checking fixes. This helps teams find barriers earlier and prevent repeat issues.1
Web development at Kraftwire
Kraftwire offers custom website development. Its website service is designed for speed, security and scale.5
Kraftwire includes quality assurance testing in its digital engineering offer. Its offer also includes continuous integration and deployment, plus post-launch support.5
Sources
FAQ
Does accessibility testing impact Core Web Vitals and SEO in Next.js?
The Next.js ESLint setup uses core-web-vitals, which includes JSX accessibility rules.