fix: identify favorite institution actions accessibly
This commit is contained in:
@@ -82,6 +82,7 @@ export const TenderCard = ({ tender }) => {
|
||||
onClick={(e) => { e.stopPropagation(); toggleFavoriteKurum(tender.kurum); }}
|
||||
disabled={favoriteSaving || !tender.kurum?.trim()}
|
||||
aria-busy={favoriteSaving} aria-pressed={Boolean(isFavKurum)}
|
||||
aria-label={`${tender.kurum} — ${isFavKurum ? 'Favori kurumdan çıkar' : 'Kurumu favorilere ekle'}`}
|
||||
title={isFavKurum ? 'Favori kurumdan çıkar' : 'Kurumu favorilere ekle'}
|
||||
className="shrink-0 p-0.5"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user