Skip to content

docs(devtools-a11y): describe the plugin API that the package exports - #546

Open
AlemTuzlak wants to merge 1 commit into
mainfrom
docs/422-a11y-plugin-api
Open

AlemTuzlak wants to merge 1 commit into
mainfrom
docs/422-a11y-plugin-api

Conversation

@AlemTuzlak

Copy link
Copy Markdown
Collaborator

The accessibility plugin docs show createA11yPlugin, but @tanstack/devtools-a11y does not export it. This PR corrects the page so that every snippet uses an API that the package really exports.

🎯 Changes

  • Panel Configuration showed createA11yPlugin({ threshold, ruleSet, ... }). No helper takes options. The section now describes the panel's Settings view and the localStorage key.
  • Quick Start (Vue) used @tanstack/devtools-a11y/vue, which does not exist. It is now Quick Start (Angular), based on examples/angular/a11y-devtools.
  • Framework Support listed Preact and Vue. It now lists React, Solid, and Angular and their entry points.
  • Export Formats imported exportToJSON and exportToCSV from the package root. The root is not exported, and the helpers are internal. The section now points to the Export JSON and Export CSV buttons.
  • Troubleshooting mentioned an excludeSelectors option that does not exist.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm test:pr, or these tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Testing

Commands run

  • prettier --check docs/plugins/a11y.md: pass.
  • I compared each snippet with packages/devtools-a11y/package.json exports and the react, solid, and angular entry files.

Manual test

  1. Open docs/plugins/a11y.md.
  2. Make sure that each import path appears in the exports of packages/devtools-a11y/package.json.

How this PR makes testing easy

Docs only. The Angular snippet matches examples/angular/a11y-devtools/src/app/app.ts.

Linked issues

Fixes #422

Risk / rollback

None. Docs only. To undo, revert this PR.

🤖 Generated with Claude Code

The page showed createA11yPlugin with initial options, a Vue entry point,
and exportToJSON/exportToCSV from the package root. None of these exist:
the package exports only the react, solid, and angular entry points, the
plugin helpers take no options, and the export helpers are internal.

The page now shows an Angular quick start, describes the panel settings and
where they are saved, and points to the Export buttons.

Fixes #422
@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: TanStack/devtools/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 463223ad-942b-4bea-93de-37aff49224f4

📥 Commits

Reviewing files that changed from the base of the PR and between afa01fe and eec8f8b.

📒 Files selected for processing (1)
  • docs/plugins/a11y.md
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nx-cloud

nx-cloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit eec8f8b

Command Status Duration Result
nx run-many --targets=build --exclude=examples/... ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2026-10-02 14:00:21 UTC

@nx-cloud

nx-cloud Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit eec8f8b

Command Status Duration Result
nx run-many --target=test:e2e --parallel=1 --pr... ✅ Succeeded 1m 16s View ↗
nx affected --targets=test:eslint,test:sherif,t... ✅ Succeeded 6s View ↗
nx run-many --targets=build --exclude=examples/... ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2026-10-02 14:02:07 UTC

@pkg-pr-new

pkg-pr-new Bot commented Oct 2, 2026

Copy link
Copy Markdown
More templates

@tanstack/angular-devtools

npm i https://pkg.pr.new/@tanstack/angular-devtools@546

@tanstack/devtools

npm i https://pkg.pr.new/@tanstack/devtools@546

@tanstack/devtools-a11y

npm i https://pkg.pr.new/@tanstack/devtools-a11y@546

@tanstack/devtools-bundler-core

npm i https://pkg.pr.new/@tanstack/devtools-bundler-core@546

@tanstack/devtools-client

npm i https://pkg.pr.new/@tanstack/devtools-client@546

@tanstack/devtools-rspack

npm i https://pkg.pr.new/@tanstack/devtools-rspack@546

@tanstack/devtools-ui

npm i https://pkg.pr.new/@tanstack/devtools-ui@546

@tanstack/devtools-utils

npm i https://pkg.pr.new/@tanstack/devtools-utils@546

@tanstack/devtools-vite

npm i https://pkg.pr.new/@tanstack/devtools-vite@546

@tanstack/devtools-webmcp

npm i https://pkg.pr.new/@tanstack/devtools-webmcp@546

@tanstack/devtools-event-bus

npm i https://pkg.pr.new/@tanstack/devtools-event-bus@546

@tanstack/devtools-event-client

npm i https://pkg.pr.new/@tanstack/devtools-event-client@546

@tanstack/preact-devtools

npm i https://pkg.pr.new/@tanstack/preact-devtools@546

@tanstack/react-devtools

npm i https://pkg.pr.new/@tanstack/react-devtools@546

@tanstack/solid-devtools

npm i https://pkg.pr.new/@tanstack/solid-devtools@546

@tanstack/svelte-devtools

npm i https://pkg.pr.new/@tanstack/svelte-devtools@546

@tanstack/vue-devtools

npm i https://pkg.pr.new/@tanstack/vue-devtools@546

commit: eec8f8b

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

createA11yPlugin Missing?

1 participant