In the example below, we use the XHTML compound <label><em>...</em></label>to provide error messages related to specific fields.
This allows the error messages to be read out by a screen reader as part of the label, as well as explicitly associating the error with the field using the for attribute of the label.