Skip to content

Tags: creynir/snug

Tags

v0.3.0

Toggle v0.3.0's commit message
chore: release v0.3.0 — occlusion detection, intentionality scoring, …

…clipped children fix

- 12 diagnostics (added occlusion via elementsFromPoint sampling)
- CSS spec corrections: overflow:clip, contain:paint, clip-path stacking contexts, sticky-broken
- Generic heuristics: negative margins, pointer-events:none, CSS gap, space-between suppression
- New semantic checks: aria-hidden-focus, broken label-for, role-without-tabindex, aria-required-attr
- URL input support: snug check --url http://localhost:5173/page
- Occlusion intentionality scoring (viewport coverage, z-index gap, position, DOM distance)
- Sub-pixel truncation threshold (≤2px filtered)
- Updated benchmark: 106 errors across 99 pages, 87% error reduction from v0.1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v0.2.1

Toggle v0.2.1's commit message
chore: release v0.2.1 — occlusion detection, intentionality scoring, …

…clipped children fix

v0.2.0

Toggle v0.2.0's commit message
fix(ci): add repository.url for npm provenance verification

npm requires repository.url to match the provenance claim from GitHub Actions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v0.1.1

Toggle v0.1.1's commit message
chore: bump version to 0.1.1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v0.1.0

Toggle v0.1.0's commit message
fix: update README references from snug to snug-cli

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>