> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# ListAccessibilityScanFindings

# Package: accessibility

# Namespace: AccessibilityScansService

# Method link: https://dev.wix.com/docs/api-reference/site/accessibility/accessibility-scans-v1/list-accessibility-scan-findings.md

## Permission Scopes:
Read Accessibility Scans: SCOPE.ACCESSIBILITY.SCANS_READ

## Introduction

Lists actionable findings for a completed or partially completed scan.
Findings are cursor-paged and ordered by severity (critical, serious,
moderate, minor, then info), page URL, and finding ID. They may be
filtered by page, rule, severity, or user-intent category. Results are
available only for completed and partially completed scans; a failed or
expired scan never returns an empty list that could be mistaken for no
accessibility issues.

---

## REST API

### Schema

```
 Method: listAccessibilityScanFindings
 Description: Lists actionable findings for a completed or partially completed scan. Findings are cursor-paged and ordered by severity (critical, serious, moderate, minor, then info), page URL, and finding GUID. They may be filtered by page, rule, severity, or user-intent category. Results are available only for completed and partially completed scans; a failed or expired scan never returns an empty list that could be mistaken for no accessibility issues.
 URL: https://www.wixapis.com/accessibility/v1/accessibility-scans/{accessibilityScanId}/findings
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  accessibilityScanId
 Method parameters: 
   param name: accessibilityScanId | type:   none | required: true 
   param name: filter | type: AccessibilityFindingFilter    
        - name: page | type: PageScanTarget | description: Limit findings to one page GUID or URL.  
           - ONE-OF: 
              - name: pageId | type: string | description: Wix page GUID when it uniquely identifies the page to scan. Use `pageUrl` for a generated page such as a specific product or blog post.  | validation: minLength 1, maxLength 100
              - name: pageUrl | type: string | description: Absolute page URL belonging to the selected Wix site.  | validation: minLength 1, maxLength 2048, format WEB_URL
        - name: ruleId | type: string | description: Limit findings to one stable rule GUID.  | validation: maxLength 200
        - name: severity | type: AccessibilitySeverity | description: Limit findings to one severity.  
             - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
        - name: categories | type: array<AccessibilityFindingCategory> | description: Limit findings to one or more user-intent categories. Categories are combined with OR and then combined with other filters using AND.  | validation: maxItems 20
             - enum: ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT, ACCESSIBILITY_FINDING_CATEGORY_HEADING_STRUCTURE, ACCESSIBILITY_FINDING_CATEGORY_COLOR_CONTRAST, ACCESSIBILITY_FINDING_CATEGORY_SCREEN_READER, ACCESSIBILITY_FINDING_CATEGORY_KEYBOARD, ACCESSIBILITY_FINDING_CATEGORY_OTHER
   param name: paging | type: CursorPaging    
        - name: limit | type: integer | description: Maximum number of items to return in the results.  | validation: minimum 0, maximum 100, format int32
        - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.  | validation: maxLength 16000
 Return type: ListAccessibilityScanFindingsResponse
  - name: findings | type: array<AccessibilityFinding> | description: Actionable findings matching the request.  | validation: maxItems 100
     - name: id | type: string | description: Stable GUID for this finding within the scan.  | read-only: true | validation: minLength 1, maxLength 512
     - name: accessibilityScanId | type: string | description: Parent accessibility scan GUID.  | read-only: true | validation: format GUID
     - name: ruleId | type: string | description: Stable accessibility rule GUID, for example "image-alt".  | read-only: true | validation: maxLength 200
     - name: title | type: string | description: User-facing rule title.  | read-only: true | validation: maxLength 500
     - name: severity | type: AccessibilitySeverity | description: Finding severity.  | read-only: true 
         - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
     - name: page | type: AccessibilityPageReference | description: Affected page. Omitted for site-level findings.  | read-only: true 
        - name: pageId | type: string | description: Wix page GUID, when available.  | read-only: true | validation: maxLength 100
        - name: pageUrl | type: string | description: Absolute URL of the scanned page.  | read-only: true | validation: maxLength 2048, format WEB_URL
        - name: title | type: string | description: User-facing page title.  | read-only: true | validation: maxLength 500
        - name: pageCollection | type: AccessibilityPageCollectionReference | description: Collection and item identity for a generated page. Omitted for static pages. Implementation-specific page types are never returned.  | read-only: true 
           - name: collectionId | type: string | description: Stable public page-collection GUID, for example "wix.stores.products".  | read-only: true | validation: minLength 1, maxLength 200
           - name: itemId | type: string | description: Public GUID of the collection item. For example, this can identify the product or blog post that an agent must update through the owning public API.  | read-only: true | validation: minLength 1, maxLength 500
     - name: element | type: AccessibilityElementReference | description: Affected element. Omitted when a rule is not element-specific.  | read-only: true 
        - name: elementId | type: string | description: Wix component GUID or another stable element reference, when available.  | read-only: true | validation: maxLength 500
        - name: selector | type: string | description: CSS selector suitable for locating the element on the scanned page.  | read-only: true | validation: maxLength 2000
        - name: description | type: string | description: Short human-readable element description.  | read-only: true | validation: maxLength 1000
     - name: description | type: string | description: What failed and why it matters.  | read-only: true | validation: maxLength 5000
     - name: remediationSummary | type: string | description: Concise summary of how to address the issue. For ordered instructions, use `fixGuidance`.  | read-only: true | validation: maxLength 5000
     - name: wcagCriteria | type: array<WcagCriterion> | description: WCAG success criteria related to this finding.  | read-only: true | validation: maxItems 20
        - name: id | type: string | description: Criterion number, for example "1.1.1".  | read-only: true | validation: minLength 1, maxLength 20
        - name: level | type: WcagLevel | description: Conformance level for this criterion.  | read-only: true 
             - enum:
             -     WCAG_LEVEL_A: Level A criterion.
             -     WCAG_LEVEL_AA: Level AA criterion.
             -     WCAG_LEVEL_AAA: Level AAA criterion. Accessibility scans don't currently evaluate Level AAA criteria.
     - name: helpUrl | type: string | description: Public documentation for this rule, when available.  | read-only: true | validation: maxLength 2048, format WEB_URL
     - name: fixGuidance | type: AccessibilityFixGuidance | description: Structured instructions for fixing and verifying this finding.  | read-only: true 
        - name: category | type: AccessibilityFixCategory | description: Primary kind of change needed to resolve the finding.  | read-only: true 
             - enum: ACCESSIBILITY_FIX_CATEGORY_CODE, ACCESSIBILITY_FIX_CATEGORY_CONTENT, ACCESSIBILITY_FIX_CATEGORY_DESIGN, ACCESSIBILITY_FIX_CATEGORY_SITE_CONFIGURATION, ACCESSIBILITY_FIX_CATEGORY_MANUAL_REVIEW
        - name: recommendedSteps | type: array<string> | description: Ordered, concrete steps for resolving the finding.  | read-only: true | validation: maxItems 20, maxLength 2000
        - name: verificationSteps | type: array<string> | description: Ordered checks that confirm whether the fix worked.  | read-only: true | validation: maxItems 10, maxLength 2000
        - name: humanInputRequired | type: boolean | description: Whether the agent must ask a person for content, intent, or approval.  | read-only: true 
        - name: humanInputReason | type: string | description: What human decision is needed. Populated when `humanInputRequired` is `true`.  | read-only: true | validation: maxLength 2000
     - name: categories | type: array<AccessibilityFindingCategory> | description: User-intent categories for grouping and filtering related rules. A finding can belong to multiple categories, for example alternative text and screen-reader support.  | read-only: true | validation: maxItems 20
         - enum: ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT, ACCESSIBILITY_FINDING_CATEGORY_HEADING_STRUCTURE, ACCESSIBILITY_FINDING_CATEGORY_COLOR_CONTRAST, ACCESSIBILITY_FINDING_CATEGORY_SCREEN_READER, ACCESSIBILITY_FINDING_CATEGORY_KEYBOARD, ACCESSIBILITY_FINDING_CATEGORY_OTHER
  - name: pagingMetadata | type: CursorPagingMetadata | description: Cursor metadata for retrieving the next page.  
     - name: count | type: integer | description: Number of items returned in current page.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursor strings that point to the next page, previous page, or both.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000
     - name: hasNext | type: boolean | description: Whether there are more pages to retrieve following the current page.  + `true`: Another page of results can be retrieved. + `false`: This is the last page.  

 Possible Errors:
   HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: ACCESSIBILITY_SCAN_NOT_FOUND | Description: Couldn't find the accessibility scan.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_RESULTS_EXPIRED | Description: The stored detailed results expired. Start a new scan.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_RESULTS_NOT_AVAILABLE | Description: The scan failed before producing usable results. Inspect its failure and start a new scan after correcting the cause.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_NOT_COMPLETE | Description: The scan is still queued or running. Poll GetAccessibilityScan and retry.


```

### Examples

### List alternative-text findings
Retrieves actionable alternative-text issues from a completed or partially completed scan.

```curl
curl -X GET \
'https://www.wixapis.com/accessibility/v1/accessibility-scans/8a6f953e-5ad1-4c9a-9f90-724a6dc91041/findings?filter.categories=ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT&paging.limit=100' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.accessibility.accessibilityScans.listAccessibilityScanFindings(accessibilityScanId, options)
 Description: Lists actionable findings for a completed or partially completed scan. Findings are cursor-paged and ordered by severity (critical, serious, moderate, minor, then info), page URL, and finding GUID. They may be filtered by page, rule, severity, or user-intent category. Results are available only for completed and partially completed scans; a failed or expired scan never returns an empty list that could be mistaken for no accessibility issues.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  accessibilityScanId
 Method parameters: 
   param name: accessibilityScanId | type: string | description: Completed or partially completed scan GUID. | required: true | validation: minLength 1, maxLength 36, format GUID
   param name: options | type: ListAccessibilityScanFindingsOptions  none  
        - name: filter | type: AccessibilityFindingFilter | description: Optional supported filters. Filters are combined with AND.  
           - name: page | type: PageScanTarget | description: Limit findings to one page GUID or URL.  
              - ONE-OF: 
                 - name: pageId | type: string | description: Wix page GUID when it uniquely identifies the page to scan. Use `pageUrl` for a generated page such as a specific product or blog post.  | validation: minLength 1, maxLength 100
                 - name: pageUrl | type: string | description: Absolute page URL belonging to the selected Wix site.  | validation: minLength 1, maxLength 2048, format WEB_URL
           - name: ruleId | type: string | description: Limit findings to one stable rule GUID.  | validation: maxLength 200
           - name: severity | type: AccessibilitySeverity | description: Limit findings to one severity.  
                 - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
           - name: categories | type: array<AccessibilityFindingCategory> | description: Limit findings to one or more user-intent categories. Categories are combined with OR and then combined with other filters using AND.  | validation: maxItems 20
                 - enum: ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT, ACCESSIBILITY_FINDING_CATEGORY_HEADING_STRUCTURE, ACCESSIBILITY_FINDING_CATEGORY_COLOR_CONTRAST, ACCESSIBILITY_FINDING_CATEGORY_SCREEN_READER, ACCESSIBILITY_FINDING_CATEGORY_KEYBOARD, ACCESSIBILITY_FINDING_CATEGORY_OTHER
        - name: paging | type: CursorPaging | description: Cursor paging. The server default and maximum page size is 100.  
           - name: limit | type: integer | description: Maximum number of items to return in the results.  | validation: minimum 0, maximum 100, format int32
           - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.  | validation: maxLength 16000
 Return type: PROMISE<ListAccessibilityScanFindingsResponse>
  - name: findings | type: array<AccessibilityFinding> | description: Actionable findings matching the request.  | validation: maxItems 100
     - name: _id | type: string | description: Stable GUID for this finding within the scan.  | read-only: true | validation: minLength 1, maxLength 512
     - name: accessibilityScanId | type: string | description: Parent accessibility scan GUID.  | read-only: true | validation: format GUID
     - name: ruleId | type: string | description: Stable accessibility rule GUID, for example "image-alt".  | read-only: true | validation: maxLength 200
     - name: title | type: string | description: User-facing rule title.  | read-only: true | validation: maxLength 500
     - name: severity | type: AccessibilitySeverity | description: Finding severity.  | read-only: true 
         - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
     - name: page | type: AccessibilityPageReference | description: Affected page. Omitted for site-level findings.  | read-only: true 
        - name: pageId | type: string | description: Wix page GUID, when available.  | read-only: true | validation: maxLength 100
        - name: pageUrl | type: string | description: Absolute URL of the scanned page.  | read-only: true | validation: maxLength 2048, format WEB_URL
        - name: title | type: string | description: User-facing page title.  | read-only: true | validation: maxLength 500
        - name: pageCollection | type: AccessibilityPageCollectionReference | description: Collection and item identity for a generated page. Omitted for static pages. Implementation-specific page types are never returned.  | read-only: true 
           - name: collectionId | type: string | description: Stable public page-collection GUID, for example "wix.stores.products".  | read-only: true | validation: minLength 1, maxLength 200
           - name: itemId | type: string | description: Public GUID of the collection item. For example, this can identify the product or blog post that an agent must update through the owning public API.  | read-only: true | validation: minLength 1, maxLength 500
     - name: element | type: AccessibilityElementReference | description: Affected element. Omitted when a rule is not element-specific.  | read-only: true 
        - name: elementId | type: string | description: Wix component GUID or another stable element reference, when available.  | read-only: true | validation: maxLength 500
        - name: selector | type: string | description: CSS selector suitable for locating the element on the scanned page.  | read-only: true | validation: maxLength 2000
        - name: description | type: string | description: Short human-readable element description.  | read-only: true | validation: maxLength 1000
     - name: description | type: string | description: What failed and why it matters.  | read-only: true | validation: maxLength 5000
     - name: remediationSummary | type: string | description: Concise summary of how to address the issue. For ordered instructions, use `fixGuidance`.  | read-only: true | validation: maxLength 5000
     - name: wcagCriteria | type: array<WcagCriterion> | description: WCAG success criteria related to this finding.  | read-only: true | validation: maxItems 20
        - name: _id | type: string | description: Criterion number, for example "1.1.1".  | read-only: true | validation: minLength 1, maxLength 20
        - name: level | type: WcagLevel | description: Conformance level for this criterion.  | read-only: true 
             - enum:
             -     WCAG_LEVEL_A: Level A criterion.
             -     WCAG_LEVEL_AA: Level AA criterion.
             -     WCAG_LEVEL_AAA: Level AAA criterion. Accessibility scans don't currently evaluate Level AAA criteria.
     - name: helpUrl | type: string | description: Public documentation for this rule, when available.  | read-only: true | validation: maxLength 2048, format WEB_URL
     - name: fixGuidance | type: AccessibilityFixGuidance | description: Structured instructions for fixing and verifying this finding.  | read-only: true 
        - name: category | type: AccessibilityFixCategory | description: Primary kind of change needed to resolve the finding.  | read-only: true 
             - enum: ACCESSIBILITY_FIX_CATEGORY_CODE, ACCESSIBILITY_FIX_CATEGORY_CONTENT, ACCESSIBILITY_FIX_CATEGORY_DESIGN, ACCESSIBILITY_FIX_CATEGORY_SITE_CONFIGURATION, ACCESSIBILITY_FIX_CATEGORY_MANUAL_REVIEW
        - name: recommendedSteps | type: array<string> | description: Ordered, concrete steps for resolving the finding.  | read-only: true | validation: maxItems 20, maxLength 2000
        - name: verificationSteps | type: array<string> | description: Ordered checks that confirm whether the fix worked.  | read-only: true | validation: maxItems 10, maxLength 2000
        - name: humanInputRequired | type: boolean | description: Whether the agent must ask a person for content, intent, or approval.  | read-only: true 
        - name: humanInputReason | type: string | description: What human decision is needed. Populated when `humanInputRequired` is `true`.  | read-only: true | validation: maxLength 2000
     - name: categories | type: array<AccessibilityFindingCategory> | description: User-intent categories for grouping and filtering related rules. A finding can belong to multiple categories, for example alternative text and screen-reader support.  | read-only: true | validation: maxItems 20
         - enum: ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT, ACCESSIBILITY_FINDING_CATEGORY_HEADING_STRUCTURE, ACCESSIBILITY_FINDING_CATEGORY_COLOR_CONTRAST, ACCESSIBILITY_FINDING_CATEGORY_SCREEN_READER, ACCESSIBILITY_FINDING_CATEGORY_KEYBOARD, ACCESSIBILITY_FINDING_CATEGORY_OTHER
  - name: pagingMetadata | type: CursorPagingMetadata | description: Cursor metadata for retrieving the next page.  
     - name: count | type: integer | description: Number of items returned in current page.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursor strings that point to the next page, previous page, or both.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000
     - name: hasNext | type: boolean | description: Whether there are more pages to retrieve following the current page.  + `true`: Another page of results can be retrieved. + `false`: This is the last page.  

 Possible Errors:
   HTTP Code: 404 | Status Code: NOT_FOUND | Application Code: ACCESSIBILITY_SCAN_NOT_FOUND | Description: Couldn't find the accessibility scan.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_RESULTS_EXPIRED | Description: The stored detailed results expired. Start a new scan.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_RESULTS_NOT_AVAILABLE | Description: The scan failed before producing usable results. Inspect its failure and start a new scan after correcting the cause.
   HTTP Code: 428 | Status Code: FAILED_PRECONDITION | Application Code: SCAN_NOT_COMPLETE | Description: The scan is still queued or running. Poll GetAccessibilityScan and retry.


```

### Examples

### List alternative-text findings
Retrieve actionable alternative-text issues from a completed or partially completed scan.

```javascript
import { accessibilityScans } from "@wix/accessibility";

async function listAlternativeTextFindings() {
  const response = await accessibilityScans.listAccessibilityScanFindings(
    "8a6f953e-5ad1-4c9a-9f90-724a6dc91041",
    {
      filter: {
        categories: [
          "ACCESSIBILITY_FINDING_CATEGORY_ALTERNATIVE_TEXT",
        ],
      },
      paging: {
        limit: 100,
      },
    },
  );

  return response;
}

/* Promise resolves to:
 * {
 *   "findings": [
 *     {
 *       "_id": "3cf67eaa5818f7905b8f07b09d01d7a5b02b45e0b4e7451649887a421fd70fae",
 *       "accessibilityScanId": "8a6f953e-5ad1-4c9a-9f90-724a6dc91041",
 *       "ruleId": "image-alt",
 *       "title": "Images must have alternative text",
 *       "severity": "ACCESSIBILITY_SEVERITY_SERIOUS",
 *       "page": {
 *         "pageUrl": "https://example.wixsite.com/store/product-page/classic-t-shirt",
 *         "title": "Classic T-Shirt",
 *         "pageCollection": {
 *           "collectionId": "wix.stores.products",
 *           "itemId": "be2dc754-e468-4fe4-b1bd-f3fd8a23b7a4"
 *         }
 *       },
 *       "element": {
 *         "elementId": "comp-m0x3h7a2"
 *       },
 *       "description": "The image doesn't have alternative text, so screen readers can't communicate its purpose.",
 *       "remediationSummary": "Add concise alternative text that communicates the image's purpose.",
 *       "fixGuidance": {
 *         "category": "ACCESSIBILITY_FIX_CATEGORY_CONTENT",
 *         "humanInputRequired": true,
 *         "humanInputReason": "A person must confirm the image's intended meaning."
 *       }
 *     }
 *   ],
 *   "pagingMetadata": {
 *     "count": 1,
 *     "hasNext": false,
 *     "total": 1
 *   }
 * }
 */

```

### listAccessibilityScanFindings (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { accessibilityScans } from '@wix/accessibility';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { accessibilityScans },
  // Include the auth strategy and host as relevant
});


async function listAccessibilityScanFindings(accessibilityScanId,options) {
  const response = await myWixClient.accessibilityScans.listAccessibilityScanFindings(accessibilityScanId,options);
};
```

---