Repository navigation
Conversation
A prompt the user starts on purpose (/mcp__browserstack__fix-accessibility-issues in Claude Code, /mcp.browserstack.fix-accessibility-issues in Copilot). It hands their coding agent BrowserStack's fix workflow: agree the scope, get the issues, triage and show a plan, fix one issue at a time, verify with a re-run and a compare, and report. Optional target and scope arguments fill in what to check and what to fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…detect, analyze, fix and verify stages Each stage now ends in a gate the agent must meet before the next. Analyze sorts issues into needs review, confirmed WCAG failure and best practice, names the kind of change each fix is, and sends questions the issue data can't answer to askBrowserStackAI. Verify gives a still-open issue one more fix before it is reverted, and the report lists the questions asked of BrowserStack AI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge #566 first. The prompt tells the agent to re-run a scan by
scanId, to uselocalIdentifier, and to compare runs withcompareWith: "previous". Those come from #541 and #553, which #566 lands onmain. This PR builds and passes tests on its own, and the two merge cleanly in either order.Why
The Evinced parity proposal (5 Nov) asks for an orchestration prompt: one the MCP hands to the user's coding agent so it follows a set fix workflow. Evinced's MCP ships one (
evinced_fix_webpage_issues). Without a workflow, agents batch fixes, edit third-party code and never check their fixes with a re-scan.What changed
fix-accessibility-issues("Fix accessibility issues"), with optionaltargetandscopearguments. The user starts it on purpose:/mcp__browserstack__fix-accessibility-issues <target> <scope>/mcp.browserstack.fix-accessibility-issuesaskBrowserStackAIwithproduct: "a11y": a few focused calls, not one per issue;aria-hiddenortabindex="-1";src/tools/accessiblity-utils/fix-workflow.ts.addAccessibilityFixWorkflowregisters the prompt, called fromserver-factory.ts. It isn't registered insideaddAccessibilityTools, because 12 test files call that with mock servers that only havetool().Why a prompt and not a resource
We tried both: first with a stub server (21 sessions), then with this server against real scans (8 sessions).
Testing
tests/tools/accessibilityFixWorkflow.test.tschecks that the prompt is listed, its arguments are filled in, the message role isuser, and the server advertises no resources.main: 144 files, 2,114 tests.--strict-mcp-configsessions, against a locally built server, a local test app and real scans. These sessions ran an earlier version of the text (six steps, before the wording changes below and before the rework into four stages). The current text has not been run live yet.scanId;Known limits (follow-ups)
pkill -f BrowserStackLocal. That kills a tunnel the user is running, and the MCP's own tunnel outlives the MCP process.critical issues onlybecomescritical). The agent still sees the full command.🤖 Generated with Claude Code