Skip to content

Commit 294ecb8

Browse files
authored
Merge pull request #2185 from Ishavyas9/main
new accessibility crawler doc
2 parents 3f3b329 + 111fca0 commit 294ecb8

File tree

3 files changed

+109
-0
lines changed

3 files changed

+109
-0
lines changed
89.6 KB
Loading
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
id: accessibility-test-crawler
3+
title: Accessibility Crawler
4+
sidebar_label: URL Crawler
5+
description: Learn how to use LambdaTest’s Crawler to automate URL extraction for accessibility testing. Configure crawl settings, include/exclude URL patterns, and analyze scan results.
6+
keywords:
7+
- LambdaTest
8+
- Accessibility
9+
- Crawler
10+
- Testing
11+
- URL Extraction
12+
url: https://www.lambdatest.com/support/docs/accessibility-test-crawler/
13+
site_name: LambdaTest
14+
slug: accessibility-test-crawler/
15+
---
16+
17+
import Tabs from '@theme/Tabs';
18+
import TabItem from '@theme/TabItem';
19+
import NewTag from '../src/component/newTag';
20+
21+
<script type="application/ld+json"
22+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
23+
"@context": "https://schema.org",
24+
"@type": "BreadcrumbList",
25+
"itemListElement": [{
26+
"@type": "ListItem",
27+
"position": 1,
28+
"name": "Home",
29+
"item": "https://www.lambdatest.com"
30+
},{
31+
"@type": "ListItem",
32+
"position": 2,
33+
"name": "Support",
34+
"item": "https://www.lambdatest.com/support/docs/"
35+
},{
36+
"@type": "ListItem",
37+
"position": 3,
38+
"name": "LambdaTest URL Crawler",
39+
"item": "https://www.lambdatest.com/support/docs/accessibility-test-crawler/"
40+
}]
41+
})
42+
}}
43+
></script>
44+
45+
46+
## Why LambdaTest Crawler is Helpful for Accessibility Testing
47+
48+
In accessibility testing, ensuring that all relevant URLs across a website are properly tested is crucial. Manual URL entry can be cumbersome and inefficient, especially for large websites with many pages. This is where LambdaTest’s URL Crawler comes into play, offering an automated and streamlined solution for accessibility testing.
49+
50+
With the LambdaTest Crawler, you can:
51+
52+
- **Automatically extract URLs** from your site based on set parameters like crawl depth and maximum pages to be crawled.
53+
- **Scan large websites efficiently** without having to manually input each URL, saving time and resources.
54+
- **Crawl dynamically** generated content and sub-pages that might otherwise be missed in traditional testing methods.
55+
- **Ensure thorough coverage** by including/excluding specific URL patterns, which helps in targeting exactly the content you need to test for accessibility compliance.
56+
57+
By automating the URL discovery process, the LambdaTest Crawler allows you to focus on accessibility issues without missing any pages that might contain potential accessibility barriers.
58+
59+
60+
## Step 1: Access the URL Crawler Feature
61+
- Open the LambdaTest Accessibility Testing Dashboard.
62+
- Select the “Crawler” option from the “Add URLs” section.
63+
64+
65+
66+
## Step 2: Configure Crawler Settings
67+
- **Base URL:** Enter the domain from which you want to start crawling. This is the root URL for the crawler.
68+
- **Crawl Depth:** Define how deep the crawler should go to fetch additional pages. For example, a depth of 2 will crawl the base URL and its immediate sub-pages.
69+
- **Max Pages:** Set a limit on the maximum number of pages the crawler should scan. This is useful to prevent unnecessary resource consumption.
70+
71+
<img loading="lazy" src={require('../assets/images/accessibility-testing/schedule-scan/crawler.png').default} className="doc_img"/>
72+
73+
## Step 3: Define URL Patterns (Optional)
74+
You can fine-tune your URL crawling by including or excluding certain URLs based on patterns.
75+
76+
<Tabs className="docs__val">
77+
78+
<TabItem value="include" label="Include URL Patterns" default>
79+
- Enter regular expressions (regex) to include only certain URLs. For example, you can filter by page types, such as `.*\.html` to include only `.html` pages.
80+
- Multiple patterns can be entered, separated by commas.
81+
82+
</TabItem>
83+
84+
<TabItem value="exclude" label="Exclude URL Patterns">
85+
- Similarly, enter regex patterns to exclude specific URLs. For instance, you can use `.*\.pdf` to exclude PDF files from being crawled.
86+
- Multiple exclude patterns can be entered, separated by commas.
87+
88+
89+
</TabItem>
90+
91+
</Tabs>
92+
93+
94+
95+
## Step 6: Analyze the Scan Report
96+
Once the scan is complete, you can analyze the scan report, which includes:
97+
- **Total Issues:** A graph summarizing the detected accessibility issues.
98+
- **Severity Trends:** Categorized by severity (Critical, Serious, Moderate, Minor).
99+
- **Pages Scanned:** View details of each URL crawled, along with a breakdown of issues per URL.
100+
101+
You can drill down into individual URLs for a more detailed analysis of accessibility issues.
102+
103+
104+
105+
> Note: The crawler functionality is available only when creating a new scheduled scan, not for scans that have already been scheduled.
106+
107+
108+

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,6 +1879,7 @@ module.exports = {
18791879
items: [
18801880
"accessibility-test-scheduling-scan",
18811881
"accessibility-test-scheduling-edit",
1882+
"accessibility-test-crawler",
18821883
],
18831884
},
18841885
],

0 commit comments

Comments
 (0)