Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
78af477
fix(app-automate): write a browserstack.yml the SDK reads as intended…
Aaryan430 Oct 21, 2026
1698672
feat(accessibility): read App Accessibility builds, and say where mob…
Aaryan430 Oct 21, 2026
af48f8e
test(accessibility): keep the server entry out of the scan-output test
Aaryan430 Oct 21, 2026
e1900bc
fix(accessibility): find a dashboard link's app build by number, not …
Aaryan430 Oct 21, 2026
332096c
fix(app-automate): write osVersion, the key the SDK's App Accessibili…
Aaryan430 Oct 21, 2026
53c5117
fix(accessibility): keep the app-aware tool text within the descripti…
Aaryan430 Oct 22, 2026
a685be6
Merge branch 'feat/a11y-wait-for-processing' into feat/a11y-app-builds
Aaryan430 Oct 22, 2026
6fe7be6
fix(accessibility): address review on #504: WDIO App Accessibility ve…
Aaryan430 Oct 23, 2026
81ebc13
fix(accessibility): leave no tag behind when stripping an app fix tex…
Aaryan430 Oct 23, 2026
35a1c47
fix(accessibility): strip an app fix text's markup without a regex
Aaryan430 Oct 23, 2026
4144519
feat(accessibility): hand out 10,000 characters of issues per call, n…
Aaryan430 Oct 23, 2026
f5f88c3
fix(accessibility): address review on #504: oversized issues, snapsho…
Aaryan430 Oct 23, 2026
fbbc084
feat(accessibility): an app issue's measurements, and its rule's text…
Aaryan430 Oct 23, 2026
98dc138
fix(accessibility): know an iOS element by its class, id and text
Aaryan430 Oct 23, 2026
4725773
Merge remote-tracking branch 'origin/main' into feat/a11y-app-builds
Aaryan430 Oct 23, 2026
6b26e1f
fix: address review on #504: keep the setup defaults, fail lookups on…
Aaryan430 Oct 23, 2026
4b40345
feat(accessibility): App Accessibility checks on native builds, and A…
Aaryan430 Oct 23, 2026
abe325e
Merge remote-tracking branch 'origin/main' into feat/a11y-app-builds
Aaryan430 Oct 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
550 changes: 550 additions & 0 deletions capability/app_accessibility.capability-index.json

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions docs/TOOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ searchCapability → describeCapability → invokeCapability
|---|---|
| `takeAppScreenshot` | Launch the app on a specified device and capture a quick verification screenshot to confirm your app has launched. |
| `listTestIds` | List the tests in a BrowserStack build (Automate or App Automate) with each test's `status` and `session_id`, optionally filtered by status (passed/failed/pending/skipped). The `session_id` feeds `getFailureLogs` and `fetchAutomationScreenshots` directly. |
| `setupBrowserStackAppAutomateTests` | Set up BrowserStack App Automate SDK integration for Appium-based mobile app testing. |
| `runAppTestsOnBrowserStack` | Run pre-built native mobile test suites (Espresso/XCUITest) by direct upload of compiled .apk/.ipa test files. |
| `setupBrowserStackAppAutomateTests` | Set up BrowserStack App Automate SDK integration for Appium-based mobile app testing. With `accessibility: true`, the run also performs App Accessibility (WCAG) checks on the screens the tests interact with, and the output says what makes a scan happen and how to read the issues. |
| `runAppTestsOnBrowserStack` | Run pre-built native mobile test suites (Espresso/XCUITest) by direct upload of compiled .apk/.ipa test files. With `accessibility: true`, the build also performs App Accessibility (WCAG) checks, and the answer says how to read the issues once it finishes. The checks need a suite built with BrowserStack's instrumentation: for Espresso the Gradle plugin and Java SDK, for XCUITest the Swift SDK, embedded and initialized. |

</details>

Expand All @@ -340,11 +340,14 @@ searchCapability → describeCapability → invokeCapability

| Tool | What it does |
|---|---|
| `startAccessibilityScan` | Start a web accessibility scan and retrieve a local CSV report path. |
| `startAccessibilityScan` | Start a web accessibility scan of a page URL and retrieve a local CSV report path. Mobile apps are scanned through an App Automate run instead (`setupBrowserStackAppAutomateTests` with `accessibility: true`). |
| `accessibilityExpert` | Ask the A11y Expert (WCAG 2.0/2.1/2.2, mobile/web usability, best practices). |
| `createAccessibilityAuthConfig` | Create an authentication configuration (form-based or basic) for accessibility scans behind a login. |
| `getAccessibilityAuthConfig` | Retrieve an existing accessibility authentication configuration by ID. |
| `fetchAccessibilityIssues` | Fetch accessibility issues from a completed scan, with pagination support. |
| `fetchAccessibilityIssues` | Fetch accessibility issues, with pagination, from a Website Scanner run, an Automated Tests build (web) or App Accessibility build (mobile app, by the build id the SDK prints), a Workflow Analyzer report, an App Accessibility manual report (`appReportId`), or a report's dashboard link. Once the tests or scan have finished, waits while the report is still processing; a run still in progress is read as it is, with a note. For an app build with no scans, lists the likely causes. |
| `list_app_accessibility_builds` | List an App Accessibility project's builds newest first, with each build's id, status, app and issue counts - use this to find the latest run, a build by name, or one person's builds. |
| `list_app_accessibility_projects` | List the account's App Accessibility projects newest first, or find one by name - use this to get the project id that lists its builds. |
| `list_manual_app_accessibility_reports` | List manual App Accessibility reports (App Live sessions scanned with Workflow Analyzer) newest first, with each report's id, app, status and issue counts - use this to find a report QA shared or the latest manual scan of an app. |

</details>

Expand Down
598 changes: 556 additions & 42 deletions src/tools/accessibility.ts

Large diffs are not rendered by default.

Loading
Loading