diff options
author | Martin Fischer <martin@push-f.com> | 2025-04-06 16:31:31 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-13 14:34:33 +0200 |
commit | fd71348532c828cab5af267842c8accf1f8528b5 (patch) | |
tree | aad9c74fa78fbd1609cb7caa11a74dba8f20d37f /views/search.html | |
parent | 2abd6aa932530b557b7c072e9dfe055cf12cf510 (diff) |
fix: add missing alt texts and aria-label
Diffstat (limited to 'views/search.html')
-rw-r--r-- | views/search.html | 4 |
1 files changed, 2 insertions, 2 deletions
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}} |