From bf0de81c575f49cd0a094f736edfa1976decd9cc Mon Sep 17 00:00:00 2001 From: Thomas Tracy Date: Tue, 29 Sep 2020 13:37:19 -0400 Subject: [PATCH] Ttracy/demographics bugs 19 20 (#25148) * Focus first input when loading a wizard page * Add aria-hidden to info icon: --- .../DemographicsCollectionModal.jsx | 11 +++++++---- .../js/demographics_collection/SelectWithInput.jsx | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lms/static/js/demographics_collection/DemographicsCollectionModal.jsx b/lms/static/js/demographics_collection/DemographicsCollectionModal.jsx index ecd1518b55..420dd52119 100644 --- a/lms/static/js/demographics_collection/DemographicsCollectionModal.jsx +++ b/lms/static/js/demographics_collection/DemographicsCollectionModal.jsx @@ -272,7 +272,7 @@ class DemographicsCollectionModal extends React.Component { {gettext('Welcome to edX! Before you get started, please take a few minutes to fill-in the additional information below to help us understand a bit more about your background. You can always edit this information later in Account Settings.')}


- + {/* Need to strip out extra '"' characters in the marketingSiteBaseUrl prop or it tries to setup the href as a relative URL */} {gettext('Why does edX collect this information?')} @@ -355,6 +355,7 @@ class DemographicsCollectionModal extends React.Component { {gettext("Have you ever served on active duty in the U.S. Armed Forces, Reserves, or National Guard?")}