Commit ded208d8 authored by Barbara Bombachini's avatar Barbara Bombachini Committed by Denis
Browse files

Issue #3302082 by bbombachini: Broken ARIA reference - aria-describedby...

Issue #3302082 by bbombachini: Broken ARIA reference - aria-describedby reference exists, but the target does not exist
parent 45f520e4
Loading
Loading
Loading
Loading
+1 −1
Changes for recaptcha_v3.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ function recaptcha_v3_post_captcha_element_process(array &$element, FormStateInt
  }
  // Hide description for the recaptcha v3 captcha element.
  if (!empty($element['captcha_widgets']['captcha_response']['#recaptcha_v3'])) {
    unset($element['#description']);
    unset($element['#description'], $element['#attributes']['aria-describedby']);
  }
  return $element;
}