This page should only be used if script asks you to manually migrate code.20241202.SOCIALNETWORKING.sendbyMail

The "Send by mail" function has been improved to meet RGAA accessibility criteria.

If you have overloaded the mail sending functionality in your charter, and in particular the XSL templates "sendByMailForm" and/or "sendByMail-form-script", make sure that your overload is still functional.

The script kernel adds error messages to form validation. Make sure error messages are rendered correctly

We also recommend that you postpone any changes you make:

  • addition of aria-required="true" on mandatory fields in the submission form
  • addition of the text "Fields followed by an asterisk * are mandatory" at the top of the submission form
  • replacement of the focus on the button that opened the dialog box, when the dialog box is closed
  • addition of aria-invalid="true" and an error message on invalid fields when the form is submitted. The error message is associated with the field via an aria-describedby attribute.

 

Back to top