Verify the order filter form with accessible labels
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ function Operations({ tenantId, open, customerName, filters, apply }: {
|
||||
}}>
|
||||
<label>Auftrag<input type="search" maxLength={120} value={draft.q} onChange={e => setDraft({ ...draft, q:e.target.value })} placeholder="Name oder Anlass"/></label>
|
||||
<label>Gerät<input type="search" maxLength={120} value={draft.device} onChange={e => setDraft({ ...draft, device:e.target.value })} placeholder="Hostname oder Geräte-ID"/></label>
|
||||
<label>Status<select value={draft.status} onChange={e => setDraft({ ...draft, status:e.target.value })}>
|
||||
<label>Status<select aria-label="Status" value={draft.status} onChange={e => setDraft({ ...draft, status:e.target.value })}>
|
||||
<option value="">Alle Status</option>
|
||||
{orderStatuses.map(status => <option key={status} value={status}>{statusText(status)}</option>)}
|
||||
</select></label>
|
||||
|
||||
Reference in New Issue
Block a user