`. The combined text read by screen readers will be "Author · Title · Year · Orientation"
which is actually quite good. No hard failure here.
-- [ ] **Pagination links use Unicode arrows `«`, `‹`, `›`, `»` as their only text** — these are
+- [x] **Pagination links use Unicode arrows `«`, `‹`, `›`, `»` as their only text** — these are
announced by screen readers as "double left-pointing angle quotation mark" or similar
gibberish. Add `aria-label` to each: `aria-label="Première page"`, `aria-label="Page précédente"`,
`aria-label="Page suivante"`, `aria-label="Dernière page"`.
@@ -1194,7 +1194,7 @@ Current state: **zero ARIA attributes, zero skip links, zero focus-visible style
#### 3.1.1 Language of page
- [ ] **All public pages have ``** — correct. ✓
-- [ ] **`search.php` 429 response emits `` with no `lang` attribute** — fails 3.1.1.
+- [x] **`search.php` 429 response emits `` with no `lang` attribute** — fails 3.1.1.
Fix: `echo '…'`.
#### 3.2.1 On focus / 3.2.2 On input
diff --git a/public/assets/admin.css b/public/assets/admin.css
index f9f83d5..aa7a85c 100644
--- a/public/assets/admin.css
+++ b/public/assets/admin.css
@@ -5,9 +5,9 @@
:root {
--admin-bg: #1a1a1a;
--admin-bg-alt: #242424;
- --admin-border: #333;
+ --admin-border: #555;
--admin-text: #e8e8e8;
- --admin-text-muted: #888;
+ --admin-text-muted: #969696;
--admin-purple: #9557b5;
--admin-input-bg: transparent;
}
diff --git a/public/assets/common.css b/public/assets/common.css
index dcf86c3..a6e5a47 100644
--- a/public/assets/common.css
+++ b/public/assets/common.css
@@ -77,7 +77,6 @@ a:hover {
color: var(--white);
text-decoration: none;
font-weight: 400;
- opacity: 0.92;
transition: opacity 0.15s;
}
@@ -122,7 +121,7 @@ a:hover {
}
.site-search__input::placeholder {
- color: #aaa;
+ color: #767676;
}
/* ============================================================
diff --git a/public/assets/main.css b/public/assets/main.css
index b138f4c..a3470ee 100644
--- a/public/assets/main.css
+++ b/public/assets/main.css
@@ -151,7 +151,7 @@ html, body {
/* Filter info */
.filter-info {
background: var(--purple-light);
- color: var(--purple);
+ color: var(--purple-dark);
padding: 0.4rem 1.5rem;
font-size: 0.85rem;
display: flex;
@@ -161,7 +161,7 @@ html, body {
}
.clear-filter {
- color: var(--purple);
+ color: var(--purple-dark);
text-decoration: none;
padding: 0.15rem 0.6rem;
background: rgba(149, 87, 181, 0.12);
diff --git a/public/assets/search.css b/public/assets/search.css
index 975adf6..ed7e0f1 100644
--- a/public/assets/search.css
+++ b/public/assets/search.css
@@ -31,6 +31,24 @@ html, body {
min-height: 100%;
}
+@media (max-width: 768px) {
+ .repertoire-index {
+ grid-template-columns: 1fr;
+ padding: 0 1rem;
+ min-height: auto;
+ }
+
+ .repertoire-col {
+ border-right: none;
+ border-bottom: 1px solid var(--border-color);
+ padding: 1rem 0 1.25rem;
+ }
+
+ .repertoire-col:last-child {
+ border-bottom: none;
+ }
+}
+
.repertoire-col {
padding: 0.75rem 0.5rem 2rem;
border-right: 1px solid var(--border-color);
@@ -233,7 +251,7 @@ html, body {
.search-filter-select {
font-size: 0.82rem;
- border: 1px solid var(--border-color);
+ border: 1px solid #949494;
border-radius: 3px;
padding: 0.2rem 0.5rem;
background: var(--white);
diff --git a/public/index.php b/public/index.php
index 372edcb..68c5d47 100644
--- a/public/index.php
+++ b/public/index.php
@@ -103,7 +103,7 @@ $extraCss = ['assets/main.css'];
$hue2 = ($hue + 40) % 360;
?>
+ style="background:linear-gradient(135deg,hsl(= $hue ?>,55%,40%),hsl(= $hue2 ?>,50%,28%));">
= htmlspecialchars($item['authors'] ?? '') ?>
= htmlspecialchars($item['title']) ?>
@@ -125,16 +125,24 @@ $extraCss = ['assets/main.css'];
diff --git a/public/search.php b/public/search.php
index b763ed8..62d3a0d 100644
--- a/public/search.php
+++ b/public/search.php
@@ -8,7 +8,7 @@ $rateLimit = new RateLimit(30, 60);
if (!$rateLimit->check()) {
http_response_code(429);
header('Retry-After: ' . $rateLimit->getResetTime());
- echo 'Trop de requêtes
Réessayez dans ' . $rateLimit->getResetTime() . ' secondes.
';
+ echo 'Trop de requêtes
Réessayez dans ' . $rateLimit->getResetTime() . ' secondes.
';
exit;
}
$rateLimit->sendHeaders();
diff --git a/templates/search-bar.php b/templates/search-bar.php
index 86a2f01..9b1edfb 100644
--- a/templates/search-bar.php
+++ b/templates/search-bar.php
@@ -5,7 +5,8 @@ $_sbValue = $searchBarValue ?? $_GET['query'] ?? '';
?>