Skip to content

Commit

Permalink
Fix Missing Hint Text on Android - Move the hint text inside the capt…
Browse files Browse the repository at this point in the history
…ure div (#10339)

* Move the hint text inside the capture div

* changelog: Bug Fixes, Selfie, Show missing hint text for users on Android/Chrome
  • Loading branch information
charleyf authored Mar 29, 2024
1 parent 1a4d4b2 commit 92135c6
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ function AcuantSelfieCaptureCanvas({ imageCaptureText, onSelfieCaptureClosed })
return (
<>
{!isReady && <LoadingSpinner />}
<div id={acuantCaptureContainerId} />
<p aria-live="assertive">
{imageCaptureText && (
<span className="document-capture-selfie-feedback">{imageCaptureText}</span>
)}
</p>
<div id={acuantCaptureContainerId}>
<p aria-live="assertive">
{imageCaptureText && (
<span className="document-capture-selfie-feedback">{imageCaptureText}</span>
)}
</p>
</div>
<button type="button" onClick={onSelfieCaptureClosed} className="usa-sr-only">
{t('doc_auth.buttons.close')}
</button>
Expand Down

0 comments on commit 92135c6

Please sign in to comment.