From da54755a59625055066463353b34fbcfcc891c9d Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 29 Aug 2026 10:23:04 +0900 Subject: [PATCH] [+] add role(String) helper for CoreAttrs --- web/making_a_web_site.anubis | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index 8803861..5ca4772 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -1195,6 +1195,7 @@ public define CoreAttrs action(WEB_Action_Name action, List((String,String)) ext public define CoreAttrs formmethod(String value) = attr("formmethod", value). public define CoreAttrs form(String value) = attr("form", value). public define CoreAttrs for(String value) = attr("for", value). +public define CoreAttrs role(String value) = attr("role", value). /**********/ public define HTML format_label(HTML_Label _label, HTML_Id _id). -- libgit2 0.21.4