Skip to main content
Introducing packages.sweber.dev
All posts
Release1 min read

Logarithm 0.7.0 released

We ran an axe-core accessibility audit of the audit log viewer in a real browser: no violations in light, dark and German. A new headingLevel option fits the viewer under your page's headings.

By Seya Weber

Logarithm 0.7.0 is out on npm as @sweberdev/logarithm and @sweberdev/logarithm-react, with provenance. The Pro packages stay at 0.9.0. Nothing breaks.

An accessibility audit with real tools

Until now we checked the viewer's colour contrast in a test and claimed the rest. For 1.0 we wanted evidence. We render the viewer in Chromium and run axe-core against it for WCAG 2.0, 2.1 and 2.2 level A and AA plus best practices, in the light theme, the dark theme (forced and from the system setting) and in German. Then we tab through every control and press Enter and Space on the details button.

The result: no violations in any of the four runs. 34 rules pass, and none are left for manual review. Focus is visible on every control, the details button reports its state, and Enter and Space open and close it.

The audit found one thing, and it depends on your page: the day headings were always h3, so on a page with an h1 and no h2 above the viewer, axe reports a skipped heading level. The new headingLevel option sets it:

<AuditLog endpoint="/api/audit" headingLevel={2} />
<ActivityFeed endpoint="/api/audit" headingLevel={2} title="Recent activity" />

Automated tools find about half of all accessibility problems, so please test with your own screen reader too. The audit harness is in the repository (audits/a11y), and the React guide says what we checked and what we did not.

Update

pnpm add @sweberdev/logarithm@latest @sweberdev/logarithm-react@latest

Logarithm is on the package page.

Package in this post

Logarithm

A self-hosted audit log for SaaS apps: who changed what, and when. Field-level diffs in your own Postgres or SQLite, and a ready React view for your customers' admins.

pnpm add @sweberdev/logarithm @sweberdev/logarithm-react
View package

Related posts

Release

Logarithm 0.5.0 released

A conformance suite so your own audit-log store behaves exactly like the built-in ones, a verified WCAG AA contrast for the viewer, and new guides for migrations, Drizzle and Prisma.

Logarithm
Release

Logarithm 0.1.0 released

A self-hosted audit log for SaaS apps: who changed what, and when. Field-level diffs in your own Postgres or SQLite, and a ready React view for your customers' admins.

Logarithm
Release

Logarithm 0.2.0 released

Request context in one line, a compact activity feed for dashboards, and in Logarithm Pro signed checkpoints and legal holds.

Logarithm