TAP5-2401: Only emit the pattern and title attributes when client-side validation is enabled