fix: remove favicon alt text to prevent Firefox flash in site picker

Firefox renders alt text while images load from Google's favicon service,
causing "Ci" to flash briefly in the 28px container before the icon appears.
This commit is contained in:
Usman Baig
2026-03-18 21:12:27 +01:00
parent 6d649d8dc4
commit c24a053c07

View File

@@ -132,7 +132,7 @@ function SitePicker({ sites, siteId, collapsed, onExpand, onCollapse, wasCollaps
{faviconUrl && !faviconFailed && ( {faviconUrl && !faviconFailed && (
<img <img
src={faviconUrl} src={faviconUrl}
alt={currentSite?.name || ''} alt=""
className="w-5 h-5 object-contain" className="w-5 h-5 object-contain"
onError={() => setFaviconFailed(true)} onError={() => setFaviconFailed(true)}
/> />