Skip to content

Commit 086d1db

Browse files
Show alt text above image preview (#102)
- reorder the preview layout so the ALT text textarea sits above the image preview - keep copy and clear actions paired with the ALT text block while maintaining existing functionality ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_69499456837083259b0139740ee27dc6)
1 parent aafc365 commit 086d1db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

image-alt-text-extractor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ <h1>Image Alt Text Extractor</h1>
155155
<span class="badge" id="image-info"></span>
156156
</div>
157157
<div class="preview-wrapper">
158-
<img id="preview" alt="Preview of the pasted image" hidden>
159158
<div class="form-group">
160159
<label for="alt-text">ALT text found</label>
161160
<textarea id="alt-text" class="alt-text-area" placeholder="ALT text will appear here" spellcheck="true"></textarea>
@@ -164,6 +163,7 @@ <h1>Image Alt Text Extractor</h1>
164163
<button type="button" id="copy-button">Copy ALT text</button>
165164
<button type="button" id="clear-button">Clear</button>
166165
</div>
166+
<img id="preview" alt="Preview of the pasted image" hidden>
167167
</div>
168168
</section>
169169
</main>

0 commit comments

Comments
 (0)