Validate Accessibility by URL

Validate Accessibility by URL

You can check the accessibility of an HTML document available at a public URL using the Web Accessibility API. This is useful for validating live web pages.

Example Request

 1POST https://api.aspose.cloud/v4.0/html/accessibility
 2Content-Type: application/json
 3Authorization: Bearer <your_access_token>
 4
 5{
 6  "InputPath": "https://example.com/page.html",
 7  "Options": {
 8    "AllLevels": true,
 9    "WcagVersion": "2.1"
10  }
11}

See Authentication Guide for how to obtain an access token.

Response

The response will indicate whether the document passes accessibility checks and provide details for each rule.

See the API Reference for more details.