MDL-78874 accessibility: Improve descriptive text for check button

This commit is contained in:
danghieu1407
2023-08-24 20:45:56 +07:00
parent cccc00954d
commit 436a403aef
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1229,7 +1229,7 @@ abstract class qbehaviour_walkthrough_test_base extends question_testcase {
} else if ($enabled === false) {
$expectedattributes['disabled'] = 'disabled';
}
return new question_contains_tag_with_attributes('input', $expectedattributes, $forbiddenattributes);
return new question_contains_tag_with_attributes('button', $expectedattributes, $forbiddenattributes);
}
/**