Skip to content

Commit

Permalink
Merge pull request #26909 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jul 19, 2023
2 parents fd17163 + 95e189b commit 85e0452
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/events/components/Survey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,20 @@ export const Survey = () => {
}

return (
<form className="f5" onSubmit={submit} ref={formRef} data-testid="survey-form">
<h3 className="f4 mb-3">{t`able_to_find`}</h3>
<form
className="f5"
onSubmit={submit}
ref={formRef}
data-testid="survey-form"
aria-live="polite"
>
<h3 id="survey-title" className="f4 mb-3">{t`able_to_find`}</h3>

{/* Honeypot: token isn't a real field */}
<input type="text" className="d-none" name="survey-token" aria-hidden="true" />

{state !== ViewState.END && (
<div className="radio-group mb-2">
<div className="radio-group mb-2" role="radiogroup" aria-labelledby="survey-title">
<input
className={cx(styles.visuallyHidden, styles.customRadio)}
id="survey-yes"
Expand Down

0 comments on commit 85e0452

Please sign in to comment.