From 036b5664b14819efafe9a689fe9899cd271ddbeb Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 27 Nov 2025 11:31:14 +0800 Subject: [PATCH] MDL-83485 core: Add accessibility Behat coverage to the preferences page --- public/user/tests/behat/view_preferences_page.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/user/tests/behat/view_preferences_page.feature b/public/user/tests/behat/view_preferences_page.feature index 49642fb218a..14e7ccf5144 100644 --- a/public/user/tests/behat/view_preferences_page.feature +++ b/public/user/tests/behat/view_preferences_page.feature @@ -76,3 +76,9 @@ Feature: Access to preferences page And I am on site homepage When I follow "Student 1" Then I should see "Preferences" in the "region-main" "region" + + @accessibility @javascript + Scenario: Check the user preferences page against accessibility standards + Given I log in as "admin" + When I follow "Preferences" in the user menu + Then the page should meet accessibility standards with "best-practice" extra tests