Docs Accessibility & npm 11 Packaging
The CLI package metadata now matches the format npm 11 expects, and the documentation site gets accessibility and loading improvements. Copy buttons carry screen reader labels, code line numbers are easier to read, and doc pages load on demand.
What's new
npm 11 Packaging
The drivn package declares its bin entry as dist/index.js and its repository as a git+https URL, the normalized forms npm 11 writes on publish. Installs and one-off runs behave the same, without npm rewriting the manifest or warning about it.
1 npx drivn@latest add button
Accessible Docs Controls
Every copy button in code blocks, previews, and install command tabs now has an aria-label, so screen readers announce "Copy code" or "Copy command" instead of an unlabeled button. Line numbers in code blocks move from 30% to 70% muted opacity for better contrast.
On-Demand Doc Pages
Each documentation page is now loaded only when it is visited, and previous/next pagination comes from the page route instead of being recalculated in the browser. The command palette also waits until it is first opened before rendering its contents.