Skip to main content
defaultGet Test Issue Data
TestMu AI
StatusCommunityBlog
default

Get Test Issue Data

This endpoint retrieves accessibility test issues based on the provided test ID with filters such as impact, best practice and needs review parameters in the query string. ### Request - Method: GET - Path Parameter: - testId (string): Test ID of the accessibility test. - Query Parameters: - impact (string): [minor, moderate, critical and serious]. - bestPractice (boolean) - needsReview (boolean)

GET
/api/v1/test-issue/{testId}
Get Test Issue Data
curl --request GET \
--url "https://api.lambdatest.com/accessibility/api/v1/test-issue/{testId}" \
--header "Authorization: Basic <encoded-value>"
{
"test_info": {
"total_issues": 18,
"critical_issues": 4,
"minor_issues": 1,
"moderate_issues": 9,
"serious_issues": 4,
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"scan_type": "workflow",
"org_id": 33464884,
"status": "completed",
"user_id": 1000137129,
"test_name": "Workflow Scan | 1725000152130",
"created_at": "2024-08-30T06:42:33Z",
"active": true,
"updated_at": "2024-08-30T06:42:33Z",
"username": "amanraj",
"email": "[email protected]",
"test_type": "manual"
},
"scan_json": [
{
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"url": "https://www.google.com/",
"issue_count": 8,
"scan_id": "BZLZFQLT",
"accessibility_score": 98,
"standard": "wcag21aa",
"startDate": "2024-08-30T06:43:14.462Z",
"current_timestamp": 1725000194,
"scanType": "workflow",
"axeVersion": "4.9.1",
"extensionVersion": "1.1.1",
"bestPracticesEnabled": true,
"needsReviewEnabled": true,
"allIssues": [
{
"bestPractice": false,
"class": "",
"description": "Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
"failureSummary": "Fix any of the following:\n No valid skip link found\n Page does not have a heading\n Page does not have a landmark region",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/bypass?application=axeAPI",
"html": "PGh0bWwgaXRlbXNjb3BlPSIiIGl0ZW10eXBlPSJodHRwOi8vc2NoZW1hLm9yZy9XZWJQYWdlIiBsYW5nPSJlbi1JTiI+",
"htmlTagName": "html",
"id": "bypass",
"impact": "serious",
"issueId": "VqHh3wClrw",
"name": "Page must have means to bypass repeated blocks",
"needsReview": true,
"target": "html",
"url": "https://www.google.com/",
"wcagGuideline": "WCAG 2.0",
"wcagVersion": [
"2.4.1"
],
"xpath": "/html"
}
],
"failedRules": [
{
"count": 1,
"mode": "automated",
"name": "aria-allowed-role"
},
{
"count": 1,
"mode": "automated",
"name": "landmark-one-main"
},
{
"count": 1,
"mode": "automated",
"name": "page-has-heading-one"
},
{
"count": 1,
"mode": "automated",
"name": "region"
},
{
"count": 1,
"mode": "automated",
"name": "aria-valid-attr-value"
},
{
"count": 1,
"mode": "automated",
"name": "bypass"
}
],
"issueSummary": {
"bestPractices": 6,
"critical": 1,
"minor": 1,
"moderate": 5,
"needsReview": 2,
"serious": 1
},
"needsReview": [
{
"count": 1,
"mode": "automated",
"name": "aria-valid-attr-value"
},
{
"count": 1,
"mode": "automated",
"name": "bypass"
}
],
"source": {
"productName": "LambdaTest Accessibility DevTools",
"productVersion": "1.1.1"
}
},
{
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"url": "https://w3school.com/",
"issue_count": 10,
"scan_id": "IA9EKXIE",
"accessibility_score": 99,
"standard": "wcag21aa",
"startDate": "2024-08-30T06:43:14.462Z",
"current_timestamp": 1725000194,
"scanType": "workflow",
"axeVersion": "4.9.1",
"extensionVersion": "1.1.1",
"bestPracticesEnabled": true,
"needsReviewEnabled": true,
"failedRules": [
{
"count": 1,
"mode": "automated",
"name": "image-alt"
},
{
"count": 1,
"mode": "automated",
"name": "landmark-one-main"
},
{
"count": 1,
"mode": "automated",
"name": "link-name"
},
{
"count": 1,
"mode": "automated",
"name": "page-has-heading-one"
},
{
"count": 1,
"mode": "automated",
"name": "region"
}
],
"issueSummary": {
"bestPractices": 4,
"critical": 3,
"minor": 0,
"moderate": 4,
"needsReview": 0,
"serious": 3
},
"source": {
"productName": "LambdaTest Accessibility DevTools",
"productVersion": "1.1.1"
}
}
]
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

testIdstringrequired

Query Parameters

impactstring
bestPracticeboolean
needsReviewboolean

Response

application/json

OK

test_infoobject
test_info.total_issuesnumber
Example: 18
test_info.critical_issuesnumber
Example: 4
test_info.minor_issuesnumber
Example: 1
test_info.moderate_issuesnumber
Example: 9
test_info.serious_issuesnumber
Example: 4
test_info.test_idstring
Example: "LAT-0LO26CZII1HQOO42TCFYY"
test_info.scan_typestring
Example: "workflow"
test_info.org_idnumber
Example: 33464884
test_info.statusstring
Example: "completed"
test_info.user_idnumber
Example: 1000137129
test_info.test_namestring
Example: "Workflow Scan | 1725000152130"
test_info.created_atstring
Example: "2024-08-30T06:42:33Z"
test_info.activeboolean
Example: true
test_info.updated_atstring
Example: "2024-08-30T06:42:33Z"
test_info.usernamestring
Example: "amanraj"
test_info.emailstring
test_info.test_typestring
Example: "manual"
scan_jsonobject[]
scan_json.test_idstring
Example: "LAT-0LO26CZII1HQOO42TCFYY"
scan_json.urlstring
Example: "https://www.google.com/"
scan_json.issue_countnumber
Example: 8
scan_json.scan_idstring
Example: "BZLZFQLT"
scan_json.accessibility_scorenumber
Example: 98
scan_json.standardstring
Example: "wcag21aa"
scan_json.startDatestring
Example: "2024-08-30T06:43:14.462Z"
scan_json.current_timestampnumber
Example: 1725000194
scan_json.scanTypestring
Example: "workflow"
scan_json.axeVersionstring
Example: "4.9.1"
scan_json.extensionVersionstring
Example: "1.1.1"
scan_json.bestPracticesEnabledboolean
Example: true
scan_json.needsReviewEnabledboolean
Example: true
scan_json.allIssuesobject[]
scan_json.failedRulesobject[]
scan_json.issueSummaryobject
scan_json.needsReviewobject[]
scan_json.sourceobject
Get Test Issue Data
curl --request GET \
--url "https://api.lambdatest.com/accessibility/api/v1/test-issue/{testId}" \
--header "Authorization: Basic <encoded-value>"
{
"test_info": {
"total_issues": 18,
"critical_issues": 4,
"minor_issues": 1,
"moderate_issues": 9,
"serious_issues": 4,
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"scan_type": "workflow",
"org_id": 33464884,
"status": "completed",
"user_id": 1000137129,
"test_name": "Workflow Scan | 1725000152130",
"created_at": "2024-08-30T06:42:33Z",
"active": true,
"updated_at": "2024-08-30T06:42:33Z",
"username": "amanraj",
"email": "[email protected]",
"test_type": "manual"
},
"scan_json": [
{
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"url": "https://www.google.com/",
"issue_count": 8,
"scan_id": "BZLZFQLT",
"accessibility_score": 98,
"standard": "wcag21aa",
"startDate": "2024-08-30T06:43:14.462Z",
"current_timestamp": 1725000194,
"scanType": "workflow",
"axeVersion": "4.9.1",
"extensionVersion": "1.1.1",
"bestPracticesEnabled": true,
"needsReviewEnabled": true,
"allIssues": [
{
"bestPractice": false,
"class": "",
"description": "Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",
"failureSummary": "Fix any of the following:\n No valid skip link found\n Page does not have a heading\n Page does not have a landmark region",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/bypass?application=axeAPI",
"html": "PGh0bWwgaXRlbXNjb3BlPSIiIGl0ZW10eXBlPSJodHRwOi8vc2NoZW1hLm9yZy9XZWJQYWdlIiBsYW5nPSJlbi1JTiI+",
"htmlTagName": "html",
"id": "bypass",
"impact": "serious",
"issueId": "VqHh3wClrw",
"name": "Page must have means to bypass repeated blocks",
"needsReview": true,
"target": "html",
"url": "https://www.google.com/",
"wcagGuideline": "WCAG 2.0",
"wcagVersion": [
"2.4.1"
],
"xpath": "/html"
}
],
"failedRules": [
{
"count": 1,
"mode": "automated",
"name": "aria-allowed-role"
},
{
"count": 1,
"mode": "automated",
"name": "landmark-one-main"
},
{
"count": 1,
"mode": "automated",
"name": "page-has-heading-one"
},
{
"count": 1,
"mode": "automated",
"name": "region"
},
{
"count": 1,
"mode": "automated",
"name": "aria-valid-attr-value"
},
{
"count": 1,
"mode": "automated",
"name": "bypass"
}
],
"issueSummary": {
"bestPractices": 6,
"critical": 1,
"minor": 1,
"moderate": 5,
"needsReview": 2,
"serious": 1
},
"needsReview": [
{
"count": 1,
"mode": "automated",
"name": "aria-valid-attr-value"
},
{
"count": 1,
"mode": "automated",
"name": "bypass"
}
],
"source": {
"productName": "LambdaTest Accessibility DevTools",
"productVersion": "1.1.1"
}
},
{
"test_id": "LAT-0LO26CZII1HQOO42TCFYY",
"url": "https://w3school.com/",
"issue_count": 10,
"scan_id": "IA9EKXIE",
"accessibility_score": 99,
"standard": "wcag21aa",
"startDate": "2024-08-30T06:43:14.462Z",
"current_timestamp": 1725000194,
"scanType": "workflow",
"axeVersion": "4.9.1",
"extensionVersion": "1.1.1",
"bestPracticesEnabled": true,
"needsReviewEnabled": true,
"failedRules": [
{
"count": 1,
"mode": "automated",
"name": "image-alt"
},
{
"count": 1,
"mode": "automated",
"name": "landmark-one-main"
},
{
"count": 1,
"mode": "automated",
"name": "link-name"
},
{
"count": 1,
"mode": "automated",
"name": "page-has-heading-one"
},
{
"count": 1,
"mode": "automated",
"name": "region"
}
],
"issueSummary": {
"bestPractices": 4,
"critical": 3,
"minor": 0,
"moderate": 4,
"needsReview": 0,
"serious": 3
},
"source": {
"productName": "LambdaTest Accessibility DevTools",
"productVersion": "1.1.1"
}
}
]
}