Skip to main content
Glama

Kiểm tra dấu hiệu lỗi accessibility trên DOM thực tế

tester_browser_accessibility_audit

Detects missing form labels, unnamed buttons/links, images without alt text, and skipped heading levels, flagging each issue as REVIEW_REQUIRED for model verification.

Instructions

Phát hiện input thiếu nhãn, button/link thiếu tên, ảnh thiếu alt và nhảy cấp heading. Đây là kiểm tra một phần, vấn đề được đánh dấu REVIEW_REQUIRED để model xác minh.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "tester_browser_accessibility_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full burden. It does add genuine behavioral context by disclosing the partial-coverage nature and the REVIEW_REQUIRED flagging convention, which tells an agent to expect possible false positives. It omits whether the audit is read-only, whether it needs a live browser session, and whether findings are persisted as artifacts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both front-loaded: the checklist of detected defects comes first and the caveat second. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter audit tool with no output schema and no annotations, the description covers what it detects and how results should be treated (partial, needs verification). The only real omission is a stated prerequisite for a running browser, which is a modest gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single required parameter, 'project', whose name is largely self-explanatory against the sibling project tools. The description adds nothing about it, but with one obvious parameter this is a minor gap rather than a blocking one.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb (detect) and enumerates the exact defect classes: unlabeled inputs, unnamed buttons/links, images without alt, and skipped heading levels. That enumeration distinguishes it from tester_browser_layout_audit and tester_browser_security_audit by substance, even though no sibling is named.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the check is partial and that flagged issues need model verification, which implies when output should be trusted versus re-examined. It never says when to run this instead of the layout or security audits, or what preconditions (e.g., an already-started browser session via tester_browser_start) must hold.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.