Skip to content

Commit

Permalink
Add aria-label to input component
Browse files Browse the repository at this point in the history
 (#102)
  • Loading branch information
kimurash committed Oct 30, 2024
1 parent bd2e324 commit e6bb415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/app/components/login/LoginEmailForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const LoginEmailForm = ({ form }: LoginEmailFormProps) => {
withAsterisk
autoComplete="email"
key={form.key('email')}
data-testid="email-input"
aria-label="メールアドレス"
{...form.getInputProps('email')}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/components/login/LoginPasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const LoginPasswordForm = ({ form }: LoginPasswordFormProps) => {
withAsterisk
autoComplete="current-password"
key={form.key('password')}
data-testid="password-input"
aria-label="パスワード"
{...form.getInputProps('password')}
/>
);
Expand Down

0 comments on commit e6bb415

Please sign in to comment.