studio24/accessible-forms
A Laravel package for building accessible forms, with Blade components and helpers that add proper labels, error messages, and ARIA attributes to help your forms meet WCAG accessibility standards.
nonce parameter for inline JavaScript means the package's client-side behaviour can run under a strict Content-Security-Policy without resorting to unsafe-inline. This moves the package from "blocked by our security posture" to "deployable." For any org with a CSP mandate, a security review gate, or a pen-test finding on inline scripts, this is the release that makes adoption viable.Consider adoption when:
unsafe-inline. Before v0.3.0 this package would have been a CSP blocker; with the nonce parameter it is a candidate. Confirm your CSP plumbing can actually pass a per-request nonce into the package's render path.0.4 and accept some API churn in exchange for early influence on the package's direction.Look elsewhere or defer when:
Diligence before committing: the assessment above is derived from release notes only. Before adoption, read the README and source to confirm the actual pattern coverage (error summaries, conditional fields, multi-step forms) and confirm the nonce is applied to all inline script emissions, not just one code path. Add an accessibility regression test (axe-core or similar) to your CI so a future minor release cannot silently degrade conformance.
For executives: Accessible forms are a legal exposure and a conversion issue — inaccessible fields cause real users to abandon transactions. This package is a small, low-cost dependency that gives us correct accessible form markup by default instead of rebuilding it in-house. The latest release (v0.3.0) removes the main blocker to adopting it: our security policy bans inline JavaScript, and the package now supports a per-request nonce so it can run under our strict CSP. It is an additive, optional change with no migration required, so the cost of trying it is a dependency bump plus a review, not a project.
For engineering: v0.3.0 adds an optional nonce parameter to the package's inline JavaScript, enabling CSP compliance without unsafe-inline. The change is backwards compatible — existing calls are unaffected. Suggested path: (1) verify our nonce generation can be threaded into the package's render call; (2) confirm the nonce is applied to every inline script the package emits; (3) pilot on one low-traffic public form; (4) add an automated accessibility check plus a CSP violation report check to CI before wider rollout. Be aware we are pre-1.0 — pin the version and review each release's changelog rather than floating the constraint.
How can I help you explore Laravel packages today?