Skip to content

Commit

Permalink
fix: add aria-label to search input
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Sep 27, 2024
1 parent 0da5cc7 commit 11af9b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions views/feed.templ
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ templ Feed(isAdmin bool, movies types.Movies, nextPage int, query string) {
</nav>
<div class="mx-auto flex max-w-xl flex-col gap-12 px-5 pt-5 md:pt-0">
<input
aria-label="Find a movie"
class="w-full rounded-full border border-neutral-300 bg-transparent px-4 py-2 ring-offset-2 ring-offset-white placeholder:text-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 dark:border-neutral-700 dark:ring-offset-neutral-900 dark:placeholder:text-neutral-600 dark:focus:ring-neutral-500"
type="search"
name="search"
Expand Down
26 changes: 13 additions & 13 deletions views/feed_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11af9b0

Please sign in to comment.