Merge pull request #17785 from desktop/8648-announce-email-message-on-focus

Add `aria-describedby` to git "other" email text box
This commit is contained in:
tidy-dev 2023-12-06 11:54:56 +00:00 committed by GitHub
commit d5968ff5b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,6 +183,7 @@ export class GitConfigUserForm extends React.Component<
disabled={this.props.disabled}
onValueChanged={this.props.onEmailChanged}
ariaLabel={ariaLabel}
ariaDescribedBy="git-email-not-found-warning-for-screen-readers"
ariaControls="git-email-not-found-warning-for-screen-readers"
/>
</Row>