https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40283

--- Comment #24 from Owen Leonard <[email protected]> ---
Created attachment 183696
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183696&action=edit
Bug 40283: memberentry page.

Added Alert and status role to the messages tags.

Test plan:

1- Enable the system preference: OPACPatronDetails
2- Log in to an adult patron account, go to Personal details
3- Without making any changes, click on "submit update request", the
   alert message should be : 'No changes were made', Inspect the HTML
   code, and notice that there is a role='alert' in the message tag.
4- Change your date of birth to today and submit
5- An error message should appear: "The following fields contain invalid
   information ... Patron's  age ... correct and resubmit". Inspect the
   HTML code and notice that there is a role='alert' in the message tag.
6- Add or change an information, and submit the update. A message should
   appear: 'Thank you ... ' Inspect the HTML code, and notice that there
   is a role='status'.
7- Now disable the system preference OPACPatronDetails. The status
   message should be: 'To make changes to your record, please contact
   the library'. Inspect the HTML code, and notice that there is a
   role='status' in the message tag.
8- Now log out, click on create a new account, fill the required fields,
   and fail the captcha? You should see the error message: 'You typed
   the wrong ... Please try again.' Inspect the HTML code, and notice
   that there is a role='alert' in the message tag.

Signed-off-by: Owen Leonard <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to