fix: react-doctor dialog/a11y/labels → 68/100 with 973 warnings

This commit is contained in:
Nora
2026-06-26 03:43:04 -06:00
parent d0bfec9d36
commit e97eb33bf1
34 changed files with 611 additions and 580 deletions
+4 -4
View File
@@ -226,11 +226,11 @@ export default function AIProviderPanel({ brandId }: Props) {
</div>
<div className="p-4 sm:p-6 space-y-4">
<div>
<label className="block text-xs font-medium text-[var(--admin-text-muted)] mb-1.5">
<label htmlFor="fld-3-api-key" className="block text-xs font-medium text-[var(--admin-text-muted)] mb-1.5">
API Key
</label>
<div className="relative">
<input aria-label="Input"
<input id="fld-3-api-key" aria-label="Input"
type={showKey ? "text" : "password"}
value={apiKey}
onChange={(e) => setApiKey(e.target.value)}
@@ -276,9 +276,9 @@ export default function AIProviderPanel({ brandId }: Props) {
</div>
<div className="p-4 sm:p-6 space-y-4">
<div>
<label className="block text-xs font-medium text-[var(--admin-text-muted)] mb-1.5">API Key</label>
<label htmlFor="fld-4-api-key" className="block text-xs font-medium text-[var(--admin-text-muted)] mb-1.5">API Key</label>
<div className="relative">
<input aria-label="Sk ..."
<input id="fld-4-api-key" aria-label="Sk ..."
type={showKey ? "text" : "password"}
value={apiKey}
onChange={(e) => setApiKey(e.target.value)}