mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-30893 Accessibility Submit button in forgot password page now have separate ids
This commit is contained in:
parent
5bbf3cb72b
commit
cc4e04798e
@ -39,7 +39,7 @@ class login_forgot_password_form extends moodleform {
|
||||
$mform->setType('username', PARAM_RAW);
|
||||
|
||||
$submitlabel = get_string('search');
|
||||
$mform->addElement('submit', 'submitbutton', $submitlabel);
|
||||
$mform->addElement('submit', 'submitbuttonusername', $submitlabel);
|
||||
|
||||
$mform->addElement('header', '', get_string('searchbyemail'), '');
|
||||
|
||||
@ -47,7 +47,7 @@ class login_forgot_password_form extends moodleform {
|
||||
$mform->setType('email', PARAM_RAW);
|
||||
|
||||
$submitlabel = get_string('search');
|
||||
$mform->addElement('submit', 'submitbutton', $submitlabel);
|
||||
$mform->addElement('submit', 'submitbuttonemail', $submitlabel);
|
||||
}
|
||||
|
||||
function validation($data, $files) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user