Skip to content
Source
Sign inSign up
TanStack/devtools

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

MergedAlemTuzlakmerged 1 commit intomain fromrefs/pull/546/headmerged by AlemTuzlak View on GitHub

AlemTuzlakcommented

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

    1. 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 afa01fec1751308eb5f60e737e408f2fc34e669a and eec8f8b2b97f3fb0f4ff7e8d0deaff06d63977af.

      📒 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.
    2. View your CI Pipeline Execution ↗ for commit eec8f8b2b97f3fb0f4ff7e8d0deaff06d63977af

      CommandStatusDurationResult
      nx run-many --targets=build --exclude=examples/...✅ Succeeded2sView ↗

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

    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit eec8f8b2b97f3fb0f4ff7e8d0deaff06d63977af

      CommandStatusDurationResult
      nx run-many --target=test:e2e --parallel=1 --pr...✅ Succeeded1m 16sView ↗
      nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded6sView ↗
      nx run-many --targets=build --exclude=examples/...✅ Succeeded2sView ↗

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

    4. 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

    5. AlemTuzlak merged thisd0e2cb1

    6. AlemTuzlak closed this

Sign in to join this conversation.