---
title: "Document scan"
date: "2023-11-09T08:09:12+00:00"
summary: "Discover how to scan documents and access protected pages."
image:
type: "page"
url: "/web-governance/document-scan"
id: "23d3f98e-c6e0-48e4-ad4b-ccd8852ec8a8"
---

Table of contents will be added

Introduction
------------

The scan is a powerful tool that scans all pages of a website. The document scan identifies all of the same types of issues as a domain scan. This page provides instructions for admin users on how to turn on and do a document scan.

Activate document scan
----------------------

1.  Navigate to the _Domain Overview_ page.
    
2.  Click **Action** on the same row as the domain and select **Edit Domain** from the expanded list of options. 
    
    The system opens the _Edit domain_ page.
    
    ![The Edit Domain pane.](https://acquia.widen.net/content/dee5ec54-b770-4f6c-9013-184377d12cb0/web/WebGov_EditDomainPage.png)
    
3.  Locate the _Features_ section.
    
    ![The Features section on the Edit Domain page. The fields are described in the document text.](https://acquia.widen.net/content/a89364df-f6f3-4e11-93d0-7e06107b7773/web/WebGov_EditDomain-FeaturesSection.png)
    
    *   Toggle **Scan documents** to **ON**.
    *   **Save** the changes.

Documents are included in the next scan.

Notes

*   Documents that are generated with .aspx are treated in the same way.
*   PDF document scans are done by an external provider. The scan recognizes the available PDFs located on your website but is unable to scan the content. To scan a PDF for Accessibility issues, visit [PDF accessibility scan](/node/58576/).

For more information, visit [PDF accessibility scan](/node/58576/).

Include password-protected and internal pages
---------------------------------------------

It is possible to include internal and password-protected pages in the scan.

For more information, visit [Scan password-protected and internal pages](/node/58566/).

Note

This may require the help of an advanced website administrator with HTML knowledge.

Set up user credentials
-----------------------

This section provides instructions for admin users on how to set up user credentials so that the app can access and scan protected pages on your website.

1.  Navigate to the _Domain Overview_ page.
    
2.  Click **Action** on the same row as the domain and select **Edit Domain** from the expanded list of options. The system opens the _Edit domain_ page.
    
3.  Locate the **Login Type** section.
    
    ![The Login Type section on the Edit Domain page.](https://acquia.widen.net/content/41ca9737-bc5f-400e-9ea0-1aa55ce8e7e3/web/WebGov_EditDomain-LoginTypeSection.png)
    
4.  **Select Login Type**: Click the drop-down arrow and select _Form_.
    
    ![The location of the Form menu option in the Login Type section of the Edit Domain page.](https://acquia.widen.net/content/8a47ea93-f265-42c1-906a-a8b0e13514c4/web/Mon_AdminSettings-EditDomain-LoginType-Form.png)
    
    The _Form fields_ section expands.
    
    ![The Form Fields page with sections to fill out as described in the document.](https://acquia.widen.net/content/ea51d381-ab34-4eb8-bf48-423da0bdaf84/web/Mon_AdminSettings-EditDomain-LoginType-Form-FormFieldsPage.png)
    
5.  The **Forms** feature lets users enter the website login credentials so that the Web Governance scan can access protected pages.
    *   **Form Fields:**
        *   **Input Selector**: Enter the CSS selector that identifies the input selector of the form field/button, for example, #username or #password.
            
            Note
            
            "Name" can only be used if the name is unique.
            
            "ID" is usually unique and the preferred choice.
            
        *   **Default Value**: Enter the CSS selector to identify the default value for the form field/button.
        *   Click **\+** to add a new input selector row.
        *   To delete a row, click the **trashcan** icon.
    *   **Submit selector**: Enter the field indicator (name or ID value) for the submit button.
    *   **Verify URL**: Enter the URL that appears when the user successfully logs in.
6.  Click **Save**. The _Edit Domain_ page closes.

The pages are now set up and are included in the next on-demand or scheduled scan.

Log in with Office 365 or Basic Auth
------------------------------------

Office365 and Basic auth require the registered email or username and password.

Custom logins may require a developer or web team member for the initial setup.