From 129e80c61bb04974abac4e51b5093246c3901190 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 05:50:18 +0000 Subject: [PATCH] feat(ui): add accessibility and tooltips to frontmatter editor Co-authored-by: threehymns <70611435+threehymns@users.noreply.github.com> --- src/components/frontmatter-editor.tsx | 40 ++++++++++++++++++--------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/src/components/frontmatter-editor.tsx b/src/components/frontmatter-editor.tsx index 1e33ea0..6f30737 100644 --- a/src/components/frontmatter-editor.tsx +++ b/src/components/frontmatter-editor.tsx @@ -169,7 +169,7 @@ export function InlineFrontmatterEditor({ } > - + handleKeyChange(index, e.target.value)} onKeyDown={(e) => handleKeyDown(e, index)} placeholder="key" - className="min-w-24 border-none outline-none" + aria-label={`Property key ${index + 1}`} + className="min-w-24 border-none outline-none bg-transparent" /> {prop.type === "checkbox" ? ( handleValueChange(index, checked === true) } + aria-label={`Value for ${prop.key || `property ${index + 1}`}`} /> ) : prop.type === "number" ? ( ) : prop.type === "date" ? ( - + + + + + + +

Remove property

+
+
))}