Lighten the website and make it more accessible

- Serve the hero images as WebP at their display size: 118 KB and 55 KB
  instead of 3.5 MB and 1.4 MB.
- Add a favicon, an apple-touch icon, a description and a theme colour.
- Announce status messages to screen readers and label the move buttons.
- Offer "Se souvenir de moi" to keep the password on the device, and keep
  working when browser storage is unavailable.
- Fix typos in the jukebox introduction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-29 12:05:57 +01:00
parent 362c7772ba
commit d200040691
11 changed files with 66 additions and 14 deletions

View file

@ -4,12 +4,16 @@
<meta charset="utf-8" />
<title>Palico Bot</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Palico Bot : le jukebox du salon vocal Discord." />
<meta name="theme-color" content="#140b24" />
<link rel="icon" type="image/png" href="/img/favicon.png" />
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png" />
<link rel="stylesheet" href="/style/styles.css" />
</head>
<body>
<div class="hero hero--home">
<div class="hero__visual">
<img src="/img/palico-index.png" alt="Palico Bot" />
<img src="/img/palico-index.webp" alt="Palico Bot" width="640" height="960" />
</div>
<div class="hero__content">