Skip to content

Commit fda92d0

Browse files
authored
Merge pull request LambdaTest#1725 from TejasAmle-Lambdatest/stage
Changes for App Accessibility
2 parents 67608c5 + 1ed5f89 commit fda92d0

File tree

6 files changed

+46
-46
lines changed

6 files changed

+46
-46
lines changed

docs/accessibility-android-rules.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,7 @@ import TabItem from '@theme/TabItem';
6161
| Unnamed Nested Element | 4.1.2 | A | Moderate | Elements within containers lack their own accessible names when they should be independently accessible. Provide distinct labels for nested interactive elements or mark decorative elements as non-focusable. |
6262
| Fixed Orientation Lock | 1.3.4 | AA | Moderate | App restricts viewing to only portrait or landscape orientation without accessibility justification. Support both orientations or provide alternative access methods for users who cannot rotate their devices due to physical constraints. |
6363
| Undersized Touch Target | 2.5.5 | AAA | Moderate | Interactive elements are smaller than the recommended minimum touch target size, making them difficult to activate for users with motor impairments. Ensure all touch targets are at least 48dp x 48dp. |
64-
| Insufficient Target Spacing | 2.5.5 | AAA | Moderate | Interactive elements are placed too close together without adequate spacing, increasing risk of accidental activation. Provide sufficient spacing between adjacent touch targets to prevent targeting errors for users with limited dexterity. |
64+
| Insufficient Target Spacing | 2.5.5 | AAA | Moderate | Interactive elements are placed too close together without adequate spacing, increasing risk of accidental activation. Provide sufficient spacing between adjacent touch targets to prevent targeting errors for users with limited dexterity. |
65+
66+
67+
> We are continuously expanding our App Accessibility guidelines. Visit this page for the latest updates and new requirements.

docs/accessibility-android-test.md renamed to docs/accessibility-app-scanner.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: accessibility-android-test
3-
title: Accessibility Testing Using App Manual Testing
2+
id: accessibility-app-scanner
3+
title: Accessibility App Scanner
44
sidebar_label: Manual
55
description: LambdaTest Accessibility DevTools help automate detection and reporting of accessibility issues based on WCAG guidelines.
66
keywords:
@@ -11,7 +11,7 @@ keywords:
1111
- Accessibility Testing Settings
1212
url: https://www.lambdatest.com/support/docs/accessibility-android-test/
1313
site_name: LambdaTest
14-
slug: accessibility-android-test/
14+
slug: accessibility-app-scanner/
1515
---
1616

1717
import CodeBlock from '@theme/CodeBlock';

docs/accessibility-ios-rules.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ import TabItem from '@theme/TabItem';
5151
| Assistive Technology Access | 4.1.2 | A | Serious | UI components cannot be properly detected, focused, or activated by VoiceOver and other assistive technologies. Set `isAccessibilityElement = true` for custom views, ensure proper view hierarchy, and avoid blocking accessibility elements. Implement `accessibilityActivate()` for custom interactions and use `accessibilityElements` array to define focus order. Test navigation with VoiceOver gestures. |
5252
| Text Truncation Issues | 1.4.4 | AA | Serious | Text content becomes truncated or cut off when users increase font sizes through iOS Dynamic Type settings. Use `adjustsFontForContentSizeCategory = true` on text elements and implement flexible layouts with priority constraints. Use `UIFont.preferredFont(forTextStyle:)` for scalable system fonts. Test with largest accessibility text sizes and avoid fixed height constraints on text containers. |
5353
| Accessibility Role Definition | 4.1.2 | A | Moderate | UI elements lack appropriate accessibility traits that define their role, state, or behavior for assistive technology interaction. Set correct `accessibilityTraits` (.button, .link, .header, .selected, .disabled) and combine traits when needed. Update traits dynamically based on state changes. In SwiftUI, use `.accessibilityAddTraits()` and `.accessibilityRemoveTraits()` to ensure custom controls communicate their purpose clearly. |
54-
| Dynamic Type Support | 1.4.4 | AA | Serious | App interface fails to properly scale or adapt when users enable larger text sizes in iOS accessibility settings. Enable Dynamic Type support using `traitCollectionDidChange` to respond to size changes and use Auto Layout with flexible constraints. Implement `adjustsFontForContentSizeCategory` on text elements. Test with Settings > Accessibility > Display & Text Size > Larger Text and design layouts that reflow gracefully. |
54+
| Dynamic Type Support | 1.4.4 | AA | Serious | App interface fails to properly scale or adapt when users enable larger text sizes in iOS accessibility settings. Enable Dynamic Type support using `traitCollectionDidChange` to respond to size changes and use Auto Layout with flexible constraints. Implement `adjustsFontForContentSizeCategory` on text elements. Test with Settings > Accessibility > Display & Text Size > Larger Text and design layouts that reflow gracefully. |
55+
56+
57+
> We are continuously expanding our App Accessibility guidelines. Visit this page for the latest updates and new requirements.

docs/accessibility-android-automation-test.md renamed to docs/accessibility-native-app-automation-test.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
2-
id: accessibility-android-automation-test
3-
title: Automation Tests with Accessibility Tool using Android
2+
id: accessibility-native-app-automation-test
3+
title: Native App Accessibility Automation
44
sidebar_label: Automation
5-
description: Detect and report accessibility issues automatically using LambdaTest Accessibility DevTools, aligned with WCAG guidelines.
5+
description: Detect and report accessibility issues automatically using LambdaTest Accessibility Native App Automationv, aligned with WCAG guidelines.
66
keywords:
77
- LambdaTest
88
- Accessibility
99
- Testing
1010
- Automation
1111
- Accessibility Testing Settings
12+
- Android Accessibility
13+
- iOS Accessibility
1214
url: https://www.lambdatest.com/support/docs/accessibility-android-automation-test/
1315
site_name: LambdaTest
14-
slug: accessibility-android-automation-test/
16+
slug: accessibility-native-app-automation-test/
1517
---
1618

1719
import CodeBlock from '@theme/CodeBlock';
@@ -42,7 +44,7 @@ import TabItem from '@theme/TabItem';
4244
})
4345
}}
4446
></script>
45-
LambdaTest now enables native Accessibility Automation Testing for Android apps using HyperExecute and Appium. This feature helps developers and QA teams to validate the accessibility of their mobile apps programmatically by leveraging LambdaTest's device cloud.
47+
LambdaTest now enables native Accessibility Automation Testing for Android and iOS apps using Appium. This feature helps developers and QA teams to validate the accessibility of their mobile apps programmatically by leveraging LambdaTest's device cloud.
4648

4749
With built-in support for `lambda-accessibility-scan`, this integration ensures that your apps are tested for compliance with accessibility standards and best practices like WCAG (Web Content Accessibility Guidelines).
4850

@@ -51,12 +53,12 @@ Before getting started, ensure the following:
5153

5254
- You have a LambdaTest account.
5355
- LambdaTest credentials (username & access key).
54-
- Android app uploaded to LambdaTest App Storage (lt://APP_ID).
56+
- App uploaded to LambdaTest App Storage (lt://APP_ID).
5557
- Python 3 installed locally.
5658
- Appium-Python-Client installed
5759
- Access to a valid Android device on LambdaTest (real or virtual).
5860

59-
> This will work for both Android and iOS applications.
61+
> Native app accessibility automation supports both Android and iOS applications.RetryClaude can make mistakes. Please double-check responses.
6062
6163
## Step 1: Setup the Environment Variables
6264

@@ -181,8 +183,6 @@ client_config = AppiumClientConfig(
181183
driver = webdriver.Remote(client_config.remote_server_addr, options = options, client_config=client_config)
182184
driver.implicitly_wait(2)
183185

184-
time.sleep(10)
185-
186186
time.sleep(10)
187187
driver.execute_script("lambda-accessibility-scan")
188188
time.sleep(10)
@@ -192,7 +192,8 @@ driver.execute_script("lambda-accessibility-scan")
192192
driver.quit()
193193
```
194194

195-
> For iOS accessibility tests make sure you to add this capability `"iosLiveInteraction": True`
195+
> For iOS accessibility automation, ensure you're targeting **iOS 15** or later and include the `"iosLiveInteraction": true` capability in your configuration.
196+
>
196197
197198
## Step 4: Execute and Monitor your Tests
198199
Run the following command in the directory where your project has been saved to execute your build.

docs/support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ import NewTag from '../src/component/newTag';
223223
<a href="/support/docs/accessibility-devtools/"><p className="p_home_inners">Accessibility DevTools</p></a>
224224
<a href="/support/docs/accessibility-automation/"><p className="p_home_inners">Accessibility Web Automation</p></a>
225225
<a href="/support/docs/accessibility-test-scheduling/"><p className="p_home_inners">Sitemap Scheduling</p></a>
226-
<a href="/support/docs/accessibility-android-test/"><p className="p_home_inners">Native App Scanner &nbsp; <NewTag value="BETA" /> </p></a>
227-
<a href="/support/docs/accessibility-android-automation-test/"><p className="p_home_inners">Native App Automation &nbsp; <NewTag value="BETA" /> </p></a>
226+
<a href="/support/docs/accessibility-app-scanner/"><p className="p_home_inners">Native App Scanner &nbsp; <NewTag value="BETA" /> </p></a>
227+
<a href="/support/docs/accessibility-native-app-automation-test/"><p className="p_home_inners">Native App Automation &nbsp; <NewTag value="BETA" /> </p></a>
228228
<a href="/support/docs/screen-reader-on-accessibility/"><p className="p_home_inners">Screen Reader</p></a>
229229
</div>
230230
</div>

sidebars.js

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,7 @@ module.exports = {
891891
type: "category",
892892
collapsed: true,
893893
label: "June, 2025",
894-
items: [
895-
"hyperexecute-release-notes-2-8-9",
896-
],
894+
items: ["hyperexecute-release-notes-2-8-9"],
897895
},
898896
{
899897
type: "category",
@@ -1156,7 +1154,6 @@ module.exports = {
11561154
"kaneai-hyperexecute-test-run-execution",
11571155
"kaneai-ci-cd-automation",
11581156
"test-runs-configurations",
1159-
11601157
],
11611158
},
11621159
{
@@ -1637,7 +1634,7 @@ module.exports = {
16371634
label: "Run a Quck Scan",
16381635
id: "accessibility-testing-run-quick-scan",
16391636
},
1640-
1637+
16411638
{
16421639
type: "category",
16431640
collapsed: true,
@@ -1758,7 +1755,7 @@ module.exports = {
17581755
"accessibility-test-scheduling-edit",
17591756
],
17601757
},
1761-
]
1758+
],
17621759
},
17631760
{
17641761
type: "category",
@@ -1768,12 +1765,12 @@ module.exports = {
17681765
{
17691766
type: "doc",
17701767
label: "Manual",
1771-
id: "accessibility-android-test",
1768+
id: "accessibility-app-scanner",
17721769
},
17731770
{
17741771
type: "doc",
17751772
label: "Automation",
1776-
id: "accessibility-android-automation-test",
1773+
id: "accessibility-native-app-automation-test",
17771774
},
17781775
{
17791776
type: "category",
@@ -1790,9 +1787,9 @@ module.exports = {
17901787
label: "iOS",
17911788
id: "accessibility-ios-rules",
17921789
},
1793-
]
1790+
],
17941791
},
1795-
]
1792+
],
17961793
},
17971794
{
17981795
type: "doc",
@@ -1803,7 +1800,6 @@ module.exports = {
18031800
type: "doc",
18041801
label: "Accessibility MCP Server",
18051802
id: "accessibility-mcp-server",
1806-
18071803
},
18081804
{
18091805
type: "category",
@@ -2212,14 +2208,14 @@ module.exports = {
22122208
"selenium-set-browser-options",
22132209
],
22142210
},
2215-
{
2211+
{
22162212
type: "category",
22172213
collapsed: true,
22182214
label: "Organize Tests",
22192215
items: [
2220-
"command-annotations",
2221-
"build-split",
2222-
"selenium-add-test-meta-data",
2216+
"command-annotations",
2217+
"build-split",
2218+
"selenium-add-test-meta-data",
22232219
],
22242220
},
22252221
{
@@ -2248,11 +2244,11 @@ module.exports = {
22482244
"custom-header",
22492245
"smart-wait",
22502246
"network-throttling",
2251-
"custom-dns-map",
2252-
"upload-files-using-lambdatest",
2253-
"setup-pre-run-executable",
2254-
"har-log-viewer",
2255-
"daily-usage-limit",
2247+
"custom-dns-map",
2248+
"upload-files-using-lambdatest",
2249+
"setup-pre-run-executable",
2250+
"har-log-viewer",
2251+
"daily-usage-limit",
22562252
],
22572253
},
22582254
],
@@ -3230,7 +3226,7 @@ module.exports = {
32303226
"analytics-widget-drill-down-export",
32313227
"analytics-widget-filter-by-regex",
32323228
"analytics-filter-by-custom-data",
3233-
"analytics-dashboard-settings"
3229+
"analytics-dashboard-settings",
32343230
],
32353231
},
32363232
{
@@ -3476,7 +3472,7 @@ module.exports = {
34763472
label: "Getting started with Tunnel",
34773473
link: {
34783474
type: "doc",
3479-
id: "lambdatest-tunnel"
3475+
id: "lambdatest-tunnel",
34803476
},
34813477
items: [
34823478
"testing-locally-hosted-pages",
@@ -3510,17 +3506,14 @@ module.exports = {
35103506
"hyperexecute-how-to-configure-tunnel",
35113507
"smartui-sdk-tunnel",
35123508
"maven-tunnel-for-locally-hosted-web-applications",
3513-
"integrate-lambdatest-extension-with-azure-pipelines"
3509+
"integrate-lambdatest-extension-with-azure-pipelines",
35143510
],
35153511
},
35163512
{
35173513
type: "category",
35183514
collapsed: true,
35193515
label: "Docker Integration",
3520-
items: [
3521-
"docker-tunnel",
3522-
"docker-tunnel-extension",
3523-
],
3516+
items: ["docker-tunnel", "docker-tunnel-extension"],
35243517
},
35253518
{
35263519
type: "category",
@@ -3548,8 +3541,8 @@ module.exports = {
35483541
type: "doc",
35493542
label: "Release Notes",
35503543
id: "tunnel-release-notes",
3551-
}
3552-
],
3544+
},
3545+
],
35533546
],
35543547

35553548
TestManagementSidebar: [

0 commit comments

Comments
 (0)