align labeled controls with semantic roles

This commit is contained in:
2026-09-06 17:19:38 +03:00
parent cbb208d440
commit f0811d7aa5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ export const DeepAnalysisReport = ({ results, tender: selectedTender }) => {
{/* Analiz ve yol haritası okunduktan sonraki adım: teklif zarfını hazırla */} {/* Analiz ve yol haritası okunduktan sonraki adım: teklif zarfını hazırla */}
{saveError && <p role="alert" className="text-xs text-red-700">{saveError}</p>} {saveError && <p role="alert" className="text-xs text-red-700">{saveError}</p>}
<div ref={preparationRef} tabIndex={-1} aria-label="Kalıcı ihale hazırlığı"> <div ref={preparationRef} tabIndex={-1} role="region" aria-label="Kalıcı ihale hazırlığı">
<BidPackageBuilder key={tender?.ikn || tender?.id} results={results} tender={tender} /> <BidPackageBuilder key={tender?.ikn || tender?.id} results={results} tender={tender} />
</div> </div>
+1 -1
View File
@@ -48,7 +48,7 @@ export const TenderCalendar = () => {
<input type="month" aria-label="Takvim ayı seç" value={month} onInput={e=>chooseMonth(e.currentTarget.value)} onChange={e=>chooseMonth(e.target.value)} <input type="month" aria-label="Takvim ayı seç" value={month} onInput={e=>chooseMonth(e.currentTarget.value)} onChange={e=>chooseMonth(e.target.value)}
className="ml-3 border border-slate-300 rounded-lg p-2"/> className="ml-3 border border-slate-300 rounded-lg p-2"/>
</label> </label>
<div className="flex flex-wrap gap-2" aria-label="Takvim ayı gezinme"> <div role="group" className="flex flex-wrap gap-2" aria-label="Takvim ayı gezinme">
<button type="button" aria-label="Önceki takvim ayı" className="border rounded px-3 py-2 text-sm" disabled={!shiftCalendarMonth(month,-1)} onClick={()=>chooseMonth(shiftCalendarMonth(month,-1))}>Önceki ay</button> <button type="button" aria-label="Önceki takvim ayı" className="border rounded px-3 py-2 text-sm" disabled={!shiftCalendarMonth(month,-1)} onClick={()=>chooseMonth(shiftCalendarMonth(month,-1))}>Önceki ay</button>
<button type="button" aria-label="Bugünün takvim ayına dön" className="border rounded px-3 py-2 text-sm" onClick={()=>{setMonth(today.slice(0,7));setSelectedDay(today);}}>Bugüne dön</button> <button type="button" aria-label="Bugünün takvim ayına dön" className="border rounded px-3 py-2 text-sm" onClick={()=>{setMonth(today.slice(0,7));setSelectedDay(today);}}>Bugüne dön</button>
<button type="button" aria-label="Sonraki takvim ayı" className="border rounded px-3 py-2 text-sm" disabled={!shiftCalendarMonth(month,1)} onClick={()=>chooseMonth(shiftCalendarMonth(month,1))}>Sonraki ay</button> <button type="button" aria-label="Sonraki takvim ayı" className="border rounded px-3 py-2 text-sm" disabled={!shiftCalendarMonth(month,1)} onClick={()=>chooseMonth(shiftCalendarMonth(month,1))}>Sonraki ay</button>