Skip to content

Commit a238dfb

Browse files
committed
Demo: Add file input label for accessibility.
1 parent d40c9f9 commit a238dfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ <h1>JavaScript Load Image Demo</h1>
8686
<li><a href="test/">Test</a></li>
8787
<li><a href="https://blueimp.net">&copy; Sebastian Tschan</a></li>
8888
</ul>
89-
<h2>Select an image file</h2>
89+
<h2>File input</h2>
9090
<p>
91+
<label for="file-input">Select an image file:</label>
9192
<input type="file" id="file-input" />
9293
</p>
9394
<p>

0 commit comments

Comments
 (0)