From f691f095dcfffdde3ec74e2453f7c7dfdedb83ca Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Tue, 14 Apr 2026 22:15:50 +0100 Subject: [PATCH] feat(board): inline delete confirmation + a11y polish Replace window.confirm with an inline Delete? / Cancel / Confirm flow on post cards. Add focus-visible outlines, initials in avatar placeholders, and promote post/form titles from h3 to h2 for heading order. --- app/components/BoardPostCard.vue | 45 ++++++++++++++++++++++++++++---- app/components/BoardPostForm.vue | 20 ++++++-------- app/pages/board.vue | 40 +++++++++++++++++++++++----- 3 files changed, 81 insertions(+), 24 deletions(-) diff --git a/app/components/BoardPostCard.vue b/app/components/BoardPostCard.vue index 8e08375..5f00f3f 100644 --- a/app/components/BoardPostCard.vue +++ b/app/components/BoardPostCard.vue @@ -2,13 +2,18 @@
-
+
+
+ Delete? + + +
-

{{ post.title }}

+

{{ post.title }}

Seeking
@@ -34,7 +39,7 @@ :alt="post.author.name" class="author-avatar" > - + {{ post.author ? post.author.name : 'Unknown' }}