Skip to content

Commit

Permalink
Merge pull request desktop#19647 from desktop/fix-remote-a11y-label
Browse files Browse the repository at this point in the history
Use label attribute for remote url input in repository settings
  • Loading branch information
tidy-dev authored Dec 5, 2024
2 parents 53eafae + 1044e0c commit 454178e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/ui/repository-settings/remote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ export class Remote extends React.Component<IRemoteProps, {}> {
const remote = this.props.remote
return (
<DialogContent>
<p>Primary remote repository ({remote.name})</p>
<TextBox
placeholder="Remote URL"
label={
__DARWIN__
? `Primary Remote Repository (${remote.name}) URL`
: `Primary remote repository (${remote.name}) URL`
}
value={remote.url}
onValueChanged={this.props.onRemoteUrlChanged}
/>
Expand Down

0 comments on commit 454178e

Please sign in to comment.