From 87ebb7958d70c28bcae91ccdee7aefa498a4f5bf Mon Sep 17 00:00:00 2001 From: Virgil Date: Sat, 4 Apr 2026 01:11:58 +0000 Subject: [PATCH] feat(html): add title helper Co-Authored-By: Virgil --- docs/architecture.md | 1 + docs/index.md | 4 ++-- go.sum | 4 ++++ node.go | 9 +++++++++ node_test.go | 20 ++++++++++++++++++++ 5 files changed, 36 insertions(+), 2 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 6e0ef8d..ed7551c 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -53,6 +53,7 @@ Accessibility-oriented helpers are also provided for common attribute patterns: - `Lang(node, locale)` - `Dir(node, direction)` - `Alt(node, text)` +- `Title(node, text)` - `Class(node, classes...)` - `AriaHidden(node, hidden)` - `AriaExpanded(node, expanded)` diff --git a/docs/index.md b/docs/index.md index d43a598..9bb7d9c 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), `