Validate Accessibility by Base64

Validate Accessibility by Base64

You can check the accessibility of HTML by sending the base64-encoded HTML content in your request.

Example Request

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

Response

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

See the API Reference for more details.