ux improvements: contrast, readability, accessibility, keyboard nav

This commit is contained in:
bronku 2026-06-10 19:44:28 +02:00
parent cd3be4eba7
commit 13b5e6d1a9
6 changed files with 96 additions and 16 deletions

View file

@ -6,8 +6,8 @@ templ Album(images []string, activePage string, pages []string) {
<section>
<div id="album-grid">
for _, img := range images {
<div>
@AvifImage("album/"+img, "album", true)
<div tabindex="0" role="button" aria-label={ img }>
@AvifImage("album/"+img, img, true)
</div>
}
</div>