In a browser with WebMCP, this chart is offered to the browser's AI
agent as five tools: maidr_list_charts,
maidr_get_layer_data, maidr_navigate,
maidr_list_commands and maidr_run_command. The
agent can then answer questions such as "which day had the most tips?"
from the chart's data, move your position to a bar when you ask, or run
one of your keyboard commands for you, such as turning braille off or
starting autoplay -- and, when you ask to be taken there, move your
keyboard focus into the chart first.
chrome://flags/#enable-webmcp-testing, set
it to Enabled, and relaunch.
maidr_list_charts and
{}.
maidr_navigate with
{"layerId": "tips", "row": 0, "col": 2} while you are in
the chart (click it or Tab to it): your screen reader announces
Thursday, exactly as an arrow key would. From outside the chart, add
"focus": true to be taken there: your focus moves into
the chart and you hear Thursday. Where the page does not have the
browser's focus, as with an agent in a side panel, the result says
"focused": false and the move waits until you next enter
the chart.
maidr_list_commands with {} to see
your commands, their keys and your current modes, then
maidr_run_command with
{"command": "toggle_text"}. In the chart, you hear the
new text mode at once; outside it, the command waits and runs when you
next enter the chart. Commands that open a dialog, such as help or
settings, are listed but stay yours to open.
The page must be served over https or from
localhost. See
Browser AI Agents (WebMCP) for the
tools, what they return, and how a page author can switch them off.