(error = message)} bind:active={fileDragging} />
{#snippet actions()} {#if step === 2} {:else if step === 3} {/if} {/snippet} {#if error}

{error}

{/if} {#if step === 1}
{/if} {#if step === 2}
{#each photos as photo, i} {@const shift = thumbShift(i)}
onThumbPointerDown(e, i)} > Photo {i + 1} {#if dragIndex === null} {/if}
{/each}
{/if} {#if step === 3}

Alt text describes images for blind and low-vision users, and helps give context to everyone.

{#each photos as photo, i}
Photo {i + 1}