fix(website): preserve keyboard link activation in project rows

Skip anchors in the delegated row key handler, matching the click handler.

Assisted-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
Aurantium
2026-10-15 03:57:39 -07:00
committed by GitHub
parent 6352a70975
commit 1f880e070f
+1
View File
@@ -331,6 +331,7 @@ if (tbody) {
// Keyboard: Enter or Space on focused .row toggles expand
tbody.addEventListener("keydown", function (e) {
if (e.key !== "Enter" && e.key !== " ") return;
if (e.target.closest("a")) return;
const row = e.target.closest("tr.row");
if (!row) return;
e.preventDefault();