From cb7d45f21bfb485cc5cf1ca4427721d6a9f898f0 Mon Sep 17 00:00:00 2001 From: Virgil Date: Fri, 3 Apr 2026 22:58:53 +0000 Subject: [PATCH] feat(html): add aria-keyshortcuts helper Co-Authored-By: Virgil --- docs/architecture.md | 1 + docs/index.md | 4 ++-- node.go | 10 ++++++++++ node_test.go | 20 ++++++++++++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 5dd64f9..fe56982 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -39,6 +39,7 @@ Accessibility-oriented helpers are also provided for common attribute patterns: - `AriaLabelledBy(node, ids...)` - `AriaControls(node, ids...)` - `AriaOwns(node, ids...)` +- `AriaKeyShortcuts(node, shortcuts...)` - `AriaCurrent(node, current)` - `AriaBusy(node, busy)` - `AriaLive(node, live)` diff --git a/docs/index.md b/docs/index.md index a490c39..798eade 100644 --- a/docs/index.md +++ b/docs/index.md @@ -39,7 +39,7 @@ This builds a Header-Content-Footer layout with semantic HTML elements (`
` (H), `