From fd71348532c828cab5af267842c8accf1f8528b5 Mon Sep 17 00:00:00 2001
From: Martin Fischer <martin@push-f.com>
Date: Sun, 6 Apr 2025 16:31:31 +0200
Subject: fix: add missing alt texts and aria-label

---
 views/search.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'views/search.html')

diff --git a/views/search.html b/views/search.html
index 9373375..70c8c86 100644
--- a/views/search.html
+++ b/views/search.html
@@ -6,7 +6,7 @@
 	<link rel="stylesheet" href="//{{.Domain}}/assets/style.css" />
 </head>
 <body>
-	<a href="//{{.Domain}}"><img height=140 class=logo src="//{{.Domain}}/assets/logo.svg"></a>
+	<a href="//{{.Domain}}"><img alt="lex.surf" height=140 class=logo src="//{{.Domain}}/assets/logo.svg"></a>
 	<h1>National Law of {{.Country.Name}}</h1>
 	{{if not .Country.HasPlaceholder}}
 		<p><big><a href="{{.Country.SearchURL}}">{{.Country.SearchURL}}</a></big></p>
@@ -19,7 +19,7 @@
 		<form>
 	{{end}}
 	{{if or .Country.HasPlaceholder .HasJSONLaws}}
-		<input id=search name=q autocomplete="off" autofocus {{if .HasJSONLaws}}data-json{{end}}>
+		<input id=search name=q aria-label="Search" autocomplete="off" autofocus {{if .HasJSONLaws}}data-json{{end}}>
 		<ul id=suggestions></ul>
 	{{end}}
 	{{if .Country.HasPlaceholder}}
-- 
cgit v1.2.3