Skip to content

Define accessibility requirements for WebMCP user-agent UI #277

Description

@mlmrx

Summary

Define accessibility requirements for any user-agent or agent-frontend UI that exposes WebMCP tool
discovery or mediates tool execution. This is a focused follow-up to the APA WG review in
#65 and the FAST self-review in #272.

This does not propose adding WebMCP tool metadata to the page accessibility tree; #91 settled
that question. It concerns the accessibility of user-facing UI created by a user agent or agent
frontend from WebMCP data.

Current gap

The draft says a tool's title is used by the user agent in UI,
but its Accessibility considerations section is empty.

The declarative explainer also defines user-visible behavior:

Those hooks are useful, but author styling and script events are not a substitute for requirements
on the UI that people actually use. In particular, toolautosubmit skips the described review
state entirely.

Requirements to resolve

Any normative or recommended user-agent mediation should address at least:

  1. Discovery: a user can determine that agent capabilities are available and identify them by
    an accessible name and description.
  2. Review and approval: a user can inspect the exact tool, origin, arguments, target, and likely
    consequence before a consequential action is committed, then approve or reject it. A user-agent
    policy or user preference must be able to require review regardless of an author hint or
    toolautosubmit. This supports WCAG 2.2's review/confirm/correct model for consequential
    submissions
    .
  3. Operation: the mediation UI is keyboard- and assistive-technology-accessible, with defined
    roles, names, states, values, focus behavior, and hardware-agnostic controls.
  4. Status and recovery: start, progress, completion, partial failure, cancellation, and any undo
    opportunity are perceivable without relying only on color, animation, or visual focus.
  5. Agent-filled state: users can tell which form values were supplied by an agent and review
    changes without requiring visual comparison. Whether this needs a WebMCP primitive, HTML work,
    or user-agent-only behavior remains an open layering question.
  6. Privacy and parity: the same mediation is available whether or not assistive technology is
    present; implementations must not detect or reveal AT usage to select behavior.
  7. Localization: accessible names, descriptions, status, and review UI follow the language and
    direction decisions tracked in Internationalization considerations #153 and Preserve language and direction for declarative tool descriptions #276.

Relationship to existing work

The outcome could be conformance requirements, non-normative implementation guidance, or both, but
the current empty accessibility section does not answer the FAST API checklist item.

Maintainers: please apply the a11y-tracker label so APA is notified. I cannot apply repository
labels with my current permissions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions