Mojo tag helpers will simply pass extra attributes through (see sub _tag
in the source).
In HTML5, an empty attribute can be declared as attr=""
(docs here).
So, based on the Mojo text_area docs, the syntax would be:
%= text_area 'comment', required => ''