New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

get_aria_role

ENTRY POINT for working on a native primitive / small element. Returns the ARIA contract for the role (required/supported props, name source), the native HTML elements that carry it, and suggested_queries (ACT searches) to run next. Also returns applicable_scs: the WCAG criteria that apply from t...

SERVERA11y Assist SOURCEa11y-assist-mcp
Low RISK CLASS
Category Read
Parameters 21 required
Recommended Allowedsee the rule below
Registry record Grade D, identity unverified Pull the record →

This record as markdown: /tools/a11y-assist-mcp/get-aria-role.md

What get_aria_role does on A11y Assist

AI agents call get_aria_role to retrieve information from A11y Assist without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
role string Yes ARIA role of a native primitive — e.g. textbox, link, img, checkbox, button. Aliases like "input" → textbox, "a" → link are accepted. If you only have the marku
level string — Target WCAG conformance level (cumulative). Stamped into the suggested ACT queries.

Parameters from the server's own tool schema.

Why get_aria_role is rated Low

Even though get_aria_role only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

Questions about get_aria_role

What does the get_aria_role tool do? +

ENTRY POINT for working on a native primitive / small element. Returns the ARIA contract for the role (required/supported props, name source), the native HTML elements that carry it, and suggested_queries (ACT searches) to run next. Also returns applicable_scs: the WCAG criteria that apply from the role structurally (the floor) at the chosen level, plus a tiered verification checklist. Same drill-down as get_apg_pattern: search_act → get_wcag_sc → audit_html. Use get_apg_pattern instead for composite components (dialog, tabs, …). It is categorised as a Read tool in the A11y Assist MCP Server, which means it retrieves data without modifying state.

What parameters does get_aria_role accept? +

get_aria_role accepts 2 parameters: role, level. Required: role. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on get_aria_role? +

Register the A11y Assist MCP server in PolicyLayer and add a rule for get_aria_role: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches A11y Assist. Nothing to install.

What risk level is get_aria_role? +

get_aria_role is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_aria_role? +

Yes. Add a rate_limit block to the get_aria_role rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_aria_role completely? +

Set action: deny in the PolicyLayer policy for get_aria_role. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_aria_role? +

get_aria_role is provided by the A11y Assist MCP server (a11y-assist-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on A11y Assist, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of A11y Assist's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.