> 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

# ListAccessibilityScanPageSummaries

# Package: accessibility

# Namespace: AccessibilityScansService

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

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

## Introduction

Lists per-page aggregate results for a completed or partially completed
scan. The response includes every discovered page: affected pages, pages
with no findings, and pages that failed to scan. A page scan returns at
most one page summary. 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 a clean result. Affected pages are returned
first, ordered by their highest finding severity (critical first) and then
finding count. Failed and clear pages follow in stable page-URL order.

---

## REST API

### Schema

```
 Method: listAccessibilityScanPageSummaries
 Description: Lists per-page aggregate results for a completed or partially completed scan. The response includes every discovered page: affected pages, pages with no findings, and pages that failed to scan. A page scan returns at most one page summary. 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 a clean result. Affected pages are returned first, ordered by their highest finding severity (critical first) and then finding count. Failed and clear pages follow in stable page-URL order.
 URL: https://www.wixapis.com/accessibility/v1/accessibility-scans/{accessibilityScanId}/page-summaries
 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: 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: ListAccessibilityScanPageSummariesResponse
  - name: pageSummaries | type: array<AccessibilityScanPageSummary> | description: One aggregate result for every discovered page, including clean and failed pages.  | validation: maxItems 100
     - name: page | type: AccessibilityPageReference | description: Page represented by this summary.  | 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: status | type: AccessibilityPageScanStatus | description: Whether the page completed or failed. A failed page has zero findings and no coverage because it did not produce a usable result.  | read-only: true 
         - enum: ACCESSIBILITY_PAGE_SCAN_STATUS_COMPLETED, ACCESSIBILITY_PAGE_SCAN_STATUS_FAILED
     - name: findingCount | type: integer | description: Actionable page-scoped findings on this page.  | read-only: true | validation: minimum 0
     - name: findingsBySeverity | type: array<AccessibilitySeverityCount> | description: Findings on this page grouped by severity.  | read-only: true | validation: maxItems 5
        - name: severity | type: AccessibilitySeverity | description: Severity represented by this count.  | read-only: true 
             - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
        - name: count | type: integer | description: Number of findings.  | read-only: true | validation: minimum 0
     - name: failure | type: AccessibilityScanFailure | description: Populated exactly when status is ACCESSIBILITY_PAGE_SCAN_STATUS_FAILED.  | read-only: true 
        - name: code | type: AccessibilityScanFailureCode | description: Stable failure category.  | read-only: true 
             - enum: ACCESSIBILITY_SCAN_FAILURE_CODE_SITE_UNAVAILABLE, ACCESSIBILITY_SCAN_FAILURE_CODE_PAGE_NOT_FOUND, ACCESSIBILITY_SCAN_FAILURE_CODE_PAGE_NOT_ACCESSIBLE, ACCESSIBILITY_SCAN_FAILURE_CODE_ANALYSIS_FAILED
        - name: message | type: string | description: Human-readable recovery guidance. Never contains raw page content or internal service details.  | read-only: true | validation: maxLength 1000
     - name: findingsByCategory | type: array<AccessibilityFindingCategoryCount> | description: Findings on this page grouped into stable user-intent categories. One finding can contribute to more than one category, so counts may overlap.  | read-only: true | validation: maxItems 20
        - name: category | type: AccessibilityFindingCategory | description: Category represented by this count.  | read-only: true 
             - 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: count | type: integer | description: Number of findings.  | read-only: true | validation: minimum 0
     - name: coverage | type: AccessibilityScanCoverage | description: Checks actually evaluated on this page, including checks that passed.  | read-only: true 
        - name: checkedCategories | type: array<AccessibilityFindingCategory> | description: User-intent categories covered by at least one executed rule.  | read-only: true | validation: maxItems 20
        - name: checkedRuleIds | type: array<string> | description: Stable public rule GUIDs that were executed, including rules that passed.  | read-only: true | validation: maxItems 500, minLength 1, maxLength 200
  - 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 page results after a scan finishes
Retrieves affected, failed, and clear pages from a completed or partially completed scan.

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

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.accessibility.accessibilityScans.listAccessibilityScanPageSummaries(accessibilityScanId, options)
 Description: Lists per-page aggregate results for a completed or partially completed scan. The response includes every discovered page: affected pages, pages with no findings, and pages that failed to scan. A page scan returns at most one page summary. 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 a clean result. Affected pages are returned first, ordered by their highest finding severity (critical first) and then finding count. Failed and clear pages follow in stable page-URL order.
 # 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: ListAccessibilityScanPageSummariesOptions  none  
        - 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<ListAccessibilityScanPageSummariesResponse>
  - name: pageSummaries | type: array<AccessibilityScanPageSummary> | description: One aggregate result for every discovered page, including clean and failed pages.  | validation: maxItems 100
     - name: page | type: AccessibilityPageReference | description: Page represented by this summary.  | 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: status | type: AccessibilityPageScanStatus | description: Whether the page completed or failed. A failed page has zero findings and no coverage because it did not produce a usable result.  | read-only: true 
         - enum: ACCESSIBILITY_PAGE_SCAN_STATUS_COMPLETED, ACCESSIBILITY_PAGE_SCAN_STATUS_FAILED
     - name: findingCount | type: integer | description: Actionable page-scoped findings on this page.  | read-only: true | validation: minimum 0
     - name: findingsBySeverity | type: array<AccessibilitySeverityCount> | description: Findings on this page grouped by severity.  | read-only: true | validation: maxItems 5
        - name: severity | type: AccessibilitySeverity | description: Severity represented by this count.  | read-only: true 
             - enum: ACCESSIBILITY_SEVERITY_CRITICAL, ACCESSIBILITY_SEVERITY_SERIOUS, ACCESSIBILITY_SEVERITY_MODERATE, ACCESSIBILITY_SEVERITY_MINOR, ACCESSIBILITY_SEVERITY_INFO
        - name: count | type: integer | description: Number of findings.  | read-only: true | validation: minimum 0
     - name: failure | type: AccessibilityScanFailure | description: Populated exactly when status is ACCESSIBILITY_PAGE_SCAN_STATUS_FAILED.  | read-only: true 
        - name: code | type: AccessibilityScanFailureCode | description: Stable failure category.  | read-only: true 
             - enum: ACCESSIBILITY_SCAN_FAILURE_CODE_SITE_UNAVAILABLE, ACCESSIBILITY_SCAN_FAILURE_CODE_PAGE_NOT_FOUND, ACCESSIBILITY_SCAN_FAILURE_CODE_PAGE_NOT_ACCESSIBLE, ACCESSIBILITY_SCAN_FAILURE_CODE_ANALYSIS_FAILED
        - name: message | type: string | description: Human-readable recovery guidance. Never contains raw page content or internal service details.  | read-only: true | validation: maxLength 1000
     - name: findingsByCategory | type: array<AccessibilityFindingCategoryCount> | description: Findings on this page grouped into stable user-intent categories. One finding can contribute to more than one category, so counts may overlap.  | read-only: true | validation: maxItems 20
        - name: category | type: AccessibilityFindingCategory | description: Category represented by this count.  | read-only: true 
             - 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: count | type: integer | description: Number of findings.  | read-only: true | validation: minimum 0
     - name: coverage | type: AccessibilityScanCoverage | description: Checks actually evaluated on this page, including checks that passed.  | read-only: true 
        - name: checkedCategories | type: array<AccessibilityFindingCategory> | description: User-intent categories covered by at least one executed rule.  | read-only: true | validation: maxItems 20
        - name: checkedRuleIds | type: array<string> | description: Stable public rule GUIDs that were executed, including rules that passed.  | read-only: true | validation: maxItems 500, minLength 1, maxLength 200
  - 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 page results after a scan finishes
Retrieve affected, failed, and clear pages from a completed or partially completed scan.

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

async function listPageSummaries() {
  const response =
    await accessibilityScans.listAccessibilityScanPageSummaries(
      "8a6f953e-5ad1-4c9a-9f90-724a6dc91041",
      {
        paging: {
          limit: 100,
        },
      },
    );

  return response;
}

/* Promise resolves to:
 * {
 *   "pageSummaries": [
 *     {
 *       "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"
 *         }
 *       },
 *       "status": "ACCESSIBILITY_PAGE_SCAN_STATUS_COMPLETED",
 *       "findingCount": 2
 *     },
 *     {
 *       "page": {
 *         "pageId": "9b18b159-7b54-44d8-90fb-c44fdf0d3536",
 *         "pageUrl": "https://example.wixsite.com/contact",
 *         "title": "Contact"
 *       },
 *       "status": "ACCESSIBILITY_PAGE_SCAN_STATUS_FAILED",
 *       "findingCount": 0,
 *       "failure": {
 *         "code": "ACCESSIBILITY_SCAN_FAILURE_CODE_ANALYSIS_FAILED",
 *         "message": "This page could not be checked."
 *       }
 *     }
 *   ],
 *   "pagingMetadata": {
 *     "count": 2,
 *     "hasNext": false,
 *     "total": 2
 *   }
 * }
 */

```

### listAccessibilityScanPageSummaries (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 listAccessibilityScanPageSummaries(accessibilityScanId,options) {
  const response = await myWixClient.accessibilityScans.listAccessibilityScanPageSummaries(accessibilityScanId,options);
};
```

---