replies timeline only, appview-less bluesky client

set alt on images

ptr.pet 33070e17 b4881a25

verified
Changed files
+9 -2
src
+2 -1
src/components/EmbedMedia.svelte
··· 29 thumbnail: { 30 src: img('feed_thumbnail', did, cid), 31 ...size 32 - } 33 }; 34 })} 35 {#if images.length > 0}
··· 29 thumbnail: { 30 src: img('feed_thumbnail', did, cid), 31 ...size 32 + }, 33 + alt: i.alt 34 }; 35 })} 36 {#if images.length > 0}
+7 -1
src/components/PhotoSwipeGallery.svelte
··· 76 class:hidden-in-grid={isHidden} 77 class:overlay-container={isOverlay} 78 > 79 - <img src={thumb.src} alt={img.alt ?? ''} width={thumb.width} height={thumb.height} /> 80 81 {#if isOverlay} 82 <div class="more-overlay">
··· 76 class:hidden-in-grid={isHidden} 77 class:overlay-container={isOverlay} 78 > 79 + <img 80 + src={thumb.src} 81 + title={img.alt ?? ''} 82 + alt={img.alt ?? ''} 83 + width={thumb.width} 84 + height={thumb.height} 85 + /> 86 87 {#if isOverlay} 88 <div class="more-overlay">