get_pattern
Retrieve the WAI-ARIA Authoring Practices implementation pattern for any UI component, including code examples and keyboard interaction requirements.
Instructions
Get the accessible implementation pattern for a UI component.
Args:
component: The component name (e.g., "modal", "tabs", "combobox",
"carousel", "menu", "dialog", "tooltip", "alert",
"switch", "listbox", "treeview", "slider", "feed",
"grid", "disclosure", "landmarks", "headings", "buttons",
"link", "spinbutton", "meter", "menu button").
Returns:
Detailed WAI-ARIA Authoring Practices pattern with code examples,
keyboard interaction requirements, and ARIA roles/states/properties.
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": {
"component": "<component>"
},
"name": "get_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |