You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -815,6 +817,29 @@ The `assertNoJavaScriptErrors` method asserts there are no JavaScript errors on
815
817
$page->assertNoJavaScriptErrors();
816
818
```
817
819
820
+
<aname="assert-no-accessibility-issues"></a>
821
+
### assertNoAccessibilityIssues
822
+
823
+
The `assertNoAccessibilityIssues` method asserts there are no "serious" accessibility issues on the page:
824
+
825
+
```php
826
+
$page->assertNoAccessibilityIssues();
827
+
```
828
+
829
+
By default, the level is 1 (serious). You can change to one of the following levels:
830
+
831
+
```
832
+
0. Critical
833
+
1. Serious
834
+
2. Moderate
835
+
3. Minor
836
+
```
837
+
838
+
- The level 0 (critical) only reports issues that cause severe barriers for individuals with disabilities. The organization may be subject to legal action if these issues are not addressed.
839
+
- The level 1 (serious) includes all critical issues (level 0) and adds issues that significantly impact accessibility. The organization may be subject to legal action if these issues are not addressed.
840
+
- The level 2 (moderate) includes all serious issues (level 1) and adds issues that moderately affect accessibility. The end-user would appreciate the fix, but it is not a barrier.
841
+
- The level 3 (minor) includes all moderate issues (level 2) and adds issues that have a minor impact on accessibility. These issues are often related to best practices and do not significantly affect the user experience.
0 commit comments