Migrate/monorepo - #1
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found 6 new issues in 3 files · 6 warnings · score 72 / 100 (Needs work) · 0 fixed · vs 6 warnings
Reviewed by React Doctor for commit |
| )} | ||
|
|
||
| <div className="w-full max-w-sm space-y-4"> | ||
| <input |
There was a problem hiding this comment.
React Doctor · react-doctor/control-has-associated-label (warning)
Blind users can't tell what this control does because screen readers find no label, so add visible text, aria-label, or aria-labelledby.
Fix → Give every interactive control a label screen readers can read.
| className="w-full bg-white/[0.04] border border-white/[0.08] rounded-xl px-4 py-3 text-txt font-mono text-sm outline-none focus:border-accent/50 transition-colors placeholder:text-txt-dim/50" | ||
| /> | ||
|
|
||
| <input |
There was a problem hiding this comment.
React Doctor · react-doctor/control-has-associated-label (warning)
Blind users can't tell what this control does because screen readers find no label, so add visible text, aria-label, or aria-labelledby.
Fix → Give every interactive control a label screen readers can read.
| ...props | ||
| }: ButtonProps) { | ||
| return ( | ||
| <button |
There was a problem hiding this comment.
React Doctor · react-doctor/button-has-type (warning)
Your users can submit the form by accident because a <button> with no type defaults to submit.
Fix → Set an explicit button type so plain buttons do not submit forms by accident: type="button", "submit", or "reset".
No description provided.