@focusring/wcagify-reporter

WCAGify's report schemas, scoring and render-only Nuxt layer, for apps that show WCAG reports without the WCAGify editor
175 1
Install
npm install @focusring/wcagify-reporter
Latest Version:0.7.0
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: timdamen

@focusring/wcagify-reporter

WCAGify's report schemas and scoring, and a render-only Nuxt layer that shows a WCAG report. For apps that display reports without the WCAGify editor: no pages, no server routes, no Nuxt Content. @focusring/wcagify builds on it and is released with the same version.

Installation

pnpm add @focusring/wcagify-reporter

Schemas and scoring

The root entry has no framework dependencies, only zod:

import {
  reportDocumentSchema,
  issueDocumentSchema,
  reportTeaser
} from '@focusring/wcagify-reporter'

const report = reportDocumentSchema.parse(input.report)
const issues = issueDocumentSchema.array().parse(input.issues)
const teaser = reportTeaser(report, issues)

Rendering a report

Extend the layer:

export default defineNuxtConfig({
  extends: ['@focusring/wcagify-reporter/layer'],
  css: ['~/assets/css/main.css', '@focusring/wcagify-reporter/print.css']
})

Import the report styles after Tailwind and Nuxt UI in app/assets/css/main.css:

@import 'tailwindcss';
@import '@nuxt/ui';
@import '@focusring/wcagify-reporter/report.css';

Render a report from plain data, for example loaded from your own database:

<script setup lang="ts">
import type { IssueDocument, ReportDocument } from '@focusring/wcagify-reporter'

const { report, issues } = defineProps<{ report: ReportDocument; issues: IssueDocument[] }>()
</script>

<template>
  <ReportContent :report :issues />
</template>

License

MIT

Related Packages

@focusring/wcagify

WCAG accessibility audit tool — Nuxt layer with report generation, PDF export an...

5,246 1
nuxt-a11y

This module integrates Axe tool for auditing website against common Accessibilit...

462
@bauer-group/accessibility-widget-nuxt

Nuxt Plugin für das BAUER GROUP Accessibility Widget.

1,205 0
@bauer-group/accessibility-widget-vue

Vue 3 Wrapper für das BAUER GROUP Accessibility Widget.

1,236 0
chusho

A library of bare accessible Vue components and tools.

2,193 55

Version History

Version Released License
0.7.0 MIT