diff --git a/web/themes/custom/usagov/scripts/reportAProblem.js b/web/themes/custom/usagov/scripts/reportAProblem.js index 6a23267bfb..66dfe7df59 100644 --- a/web/themes/custom/usagov/scripts/reportAProblem.js +++ b/web/themes/custom/usagov/scripts/reportAProblem.js @@ -57,7 +57,7 @@ function fieldValidation() { label.after( '' + + '" class="err-label usa-error" tabindex="-1">' + error + "" ); @@ -92,7 +92,7 @@ function fieldValidation() { // If there is at least 1 error, focus the screen on the first error message. if (!noErrors) { var elem = document.querySelector(".err-label"); - elem.focus(); + // elem.focus(); // commented out so focus can goto the error box first var viewportOffset = elem.getBoundingClientRect(); var top = viewportOffset.top; if (top < 108) { diff --git a/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-reporte-problemas-en-este-sitio-web.html.twig b/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-reporte-problemas-en-este-sitio-web.html.twig index be4e60cafa..8c50fce5c9 100644 --- a/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-reporte-problemas-en-este-sitio-web.html.twig +++ b/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-reporte-problemas-en-este-sitio-web.html.twig @@ -6,20 +6,20 @@

Su información contiene errores

  • - Escriba su nombre + Escriba su nombre
  • - Escriba su email + Escriba su email
  • - Escriba la descripción + Escriba la descripción
  • -
  • + {#
  • Complete el reCaptcha
  • Fill out the reCaptcha -
  • + #}
    @@ -58,7 +58,7 @@ maxlength="255" size="40" required - data-error="Escriba su nombre" + data-error="Error: Escriba su nombre" data-name="First Name" />

    @@ -75,7 +75,7 @@ maxlength="80" size="40" required\ - data-error="Escriba su email" + data-error="Error: Escriba su email" data-name="Email Address" />

    @@ -94,7 +94,7 @@ rows="10" maxlength="1000" required - data-error="Escriba la descripción" + data-error="Error: Escriba la descripción" data-name="Description" > Por favor limite su comentario a 1000 caracteres. diff --git a/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-site-issue-report-form.html.twig b/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-site-issue-report-form.html.twig index 76a06f2460..7b56e5f960 100644 --- a/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-site-issue-report-form.html.twig +++ b/web/themes/custom/usagov/templates/field--node--field-custom-twig-content-site-issue-report-form.html.twig @@ -6,19 +6,19 @@

    Your information contains errors

  • - Fill out the name field + Fill out the name field
  • - Fill out the email field + Fill out the email field
  • - Fill out the description field + Fill out the description field
  • -
  • + {#
  • Fill out the reCaptcha
  • - Fill out the reCaptcha + Fill out the reCaptcha #}
  • @@ -58,7 +58,7 @@ maxlength="255" size="40" required - data-error="Fill out the name field" + data-error="Error: Fill out the name field" data-name="First Name" />

    @@ -75,7 +75,7 @@ maxlength="80" size="40" required - data-error="Fill out the email field" + data-error="Error: Fill out the email field" data-name="Email Address" />

    @@ -94,7 +94,7 @@ rows="10" maxlength="1000" required - data-error="Fill out the description field" + data-error="Error: Fill out the description field" data-name="Description" > Maximum length is 1000 characters.