Commit graph

59 commits

Author SHA1 Message Date
Virgil
87ebb7958d feat(html): add title helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 01:11:58 +00:00
Virgil
f3c2bb1ca7 fix(html): isolate shared nodes in Each
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 01:05:53 +00:00
Virgil
cc75f3b533 refactor(html): share deterministic attribute rendering
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 01:01:12 +00:00
Virgil
dc00e10ec0 feat(html): add standard boolean attribute helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 00:42:29 +00:00
Virgil
f828848cc0 feat(html): add aria-atomic helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 00:32:08 +00:00
Virgil
5b69aec575 feat(html): add aria details helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-04 00:13:10 +00:00
Virgil
ad01f04a51 feat(html): add aria role description helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:41:55 +00:00
Virgil
de3a40000c feat(html): add aria-modal helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:21:57 +00:00
Virgil
b6120a1929 feat(html): add aria-haspopup helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 23:01:34 +00:00
Virgil
cb7d45f21b feat(html): add aria-keyshortcuts helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 22:58:53 +00:00
Virgil
aa6e064247 feat(html): add aria-readonly helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:29:42 +00:00
Virgil
a184549013 fix(html): ignore whitespace-only helper values
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:25:15 +00:00
Virgil
8900d25cfe fix(html): isolate wrapper attrs from shared nodes
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:21:24 +00:00
Virgil
c6bca226a9 feat(html): add id and for helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:04:27 +00:00
Virgil
1134683e1b feat(html): add aria owns helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 20:01:23 +00:00
Virgil
fd1f7cea74 feat(html): add hidden helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:51:26 +00:00
Virgil
cafa24163d feat(html): add aria checked helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:41:09 +00:00
Virgil
94eb419914 feat(html): add aria invalid and required helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:38:02 +00:00
Virgil
3c64352a3b fix(html): trim helper tokens
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:31:54 +00:00
Virgil
cb75de9bf3 feat(html): isolate text translation fallback
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:22:48 +00:00
Virgil
2ce8876cb5 fix(html): ignore empty helper tokens
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Drop empty strings from join-based accessibility helpers and class names so generated attributes stay clean.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:59:24 +00:00
Virgil
1958cc79b1 docs(html): align public API docs with AX principles
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:53:50 +00:00
Virgil
7b95c1fc74 feat(html): add aria-description helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:51:28 +00:00
Virgil
3d841efa12 feat(html): add aria-live helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:46:36 +00:00
Virgil
667965da19 feat(html): add aria-busy helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:44:10 +00:00
Virgil
30f64a3d59 feat(html): add aria state helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:34:00 +00:00
Virgil
a7433675ba feat(html): add AltText helper alias
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:30:49 +00:00
Virgil
7091a5f341 feat(html): add aria-disabled helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:28:49 +00:00
Virgil
ec18122233 feat(html): add aria-current helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:25:09 +00:00
Virgil
a5e02f6472 feat(html): add class helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:21:16 +00:00
Virgil
a925142e4e feat(html): add aria-controls helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:18:30 +00:00
Virgil
ec2ccc7653 feat(html): add aria-expanded helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:15:48 +00:00
Virgil
ae286563fd fix(html): normalise nil render context
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 18:05:06 +00:00
Virgil
aa282056fa feat(html): preserve nested block paths through elements
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:58:21 +00:00
Virgil
d0e7f60dab feat(html): add dir helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Add a Dir convenience helper for the dir attribute so RTL/text-direction markup can be applied without raw Attr calls.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:42:50 +00:00
Virgil
4d767fa0bd fix(html): omit aria-hidden when visible
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:39:54 +00:00
Virgil
f8558a52ef feat(html): add lang helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:28:27 +00:00
Virgil
c84bd21cf4 docs: align html API comments with AX guidance
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:23:37 +00:00
Virgil
a86c8ef770 feat(html): recurse attrs through iterator wrappers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:20:17 +00:00
Virgil
264ecc3f84 feat(html): add aria-labelledby helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:16:39 +00:00
Virgil
25d809fc88 feat(html): add aria-describedby helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:11:51 +00:00
Virgil
f7843ae180 feat(html): add autofocus helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:09:10 +00:00
Virgil
7814f669fd feat(html): add role accessibility helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:03:23 +00:00
Virgil
46a8b7e904 fix(html): harden nil rendering paths
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 17:00:58 +00:00
Virgil
8dfce51659 fix(html): preserve each path prefixes
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:58:12 +00:00
Virgil
ba384aeb12 fix: add nil-safe rendering paths
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:55:48 +00:00
Virgil
8bf49c8935 fix(html): preserve nested layout paths through wrappers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:39:34 +00:00
Virgil
149d31b140 feat(html): add tabindex helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:31:22 +00:00
Virgil
48884f7974 feat(html): add aria-hidden helper
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:29:33 +00:00
Virgil
739f1f52fc feat(html): add accessibility helpers
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 16:26:46 +00:00