In the documentation for HTML::FormHandler::Widget::Block, the label_tag attributed is documented as:
Tag to use for the label. Default: 'span'; default for 'fieldset' is 'legend'.
As this is true for span, the tag legend is enforced for fieldset.
https://github.com/gshank/html-formhandler/blob/master/lib/HTML/FormHandler/Widget/Block.pm#L151
The documentation or the could should be fixed.
In the documentation for
HTML::FormHandler::Widget::Block, thelabel_tagattributed is documented as:As this is true for
span, the taglegendis enforced forfieldset.https://github.com/gshank/html-formhandler/blob/master/lib/HTML/FormHandler/Widget/Block.pm#L151
The documentation or the could should be fixed.