Accessibility Agent

Run the accessibility fix agent on a page

Changed on

Resolves the page identifier to a live URL, URI and host id, mints a short-lived token for the calling user, and forwards the request to the configured a11y agent service. Returns the agent's report once the run completes. This call is synchronous and a full run can take minutes - use /fix/stream to receive progress as it happens. Requires the dotPageScanner-config App to carry the agent url and auth token.

post/api/v1/agents/a11y/fix

Request

Request body

identifierstring required

dotCMS content identifier of the page to fix

languageIdinteger

Language id of the page version to fix

skipCssboolean

When true the agent fixes only VTL and reports CSS contrast issues instead of editing stylesheets

Example request

{
  "identifier": "a9f30020-54ef-494e-92ed-645e757171c2",
  "languageId": 1
}

Response

The agent's fix report, relayed verbatim from the agent service

Changes