Improve Accessibility

This commit is contained in:
2025-10-31 14:31:29 +03:30
parent 25a968ba53
commit c423f5e624
3 changed files with 3 additions and 1 deletions

View File

@@ -60,6 +60,7 @@ function handleSubmit() {
<!-- Right circular button -->
<button
class="ml-3 w-10 h-10 flex items-center justify-center rounded-full bg-primary text-accent hover:scale-110 transition-transform duration-300 shadow-md"
aria-label="Submit magnet link"
@click="handleSubmit"
>
<svg

View File

@@ -14,6 +14,7 @@ function handleFileChange(e: Event) {
<fieldset class="fieldset w-full max-w-2/3">
<legend class="fieldset-legend">Pick a file</legend>
<input
id="torrent-file"
type="file"
class="file-input file-input-bordered w-full border-primary bg-base-100 file-input-md"
accept=".torrent,application/x-bittorrent"