name: Form fieldset description: The fieldset element is used to group several controls within a web form. The legend element represents a caption for the content of its parent fieldset. body: | [Using the fieldset and legend elements](https://accessibility.blog.gov.uk/2016/07/22/using-the-fieldset-and-legend-elements/) You can use the 'text' property or pass 'text' as a block. accessibility_criteria: | - must give inputs within the fieldset context with legend text examples: default: data: legend_text: 'Do you have a passport?' text: | with_id_attribute: data: legend_text: 'Do you have a passport?' id: passports text: | with_custom_legend_size: description: Make the legend different sizes. Valid options are 's', 'm', 'l' and 'xl'. data: legend_text: 'Do you have a driving license?' heading_size: 'l' text: | with_html_legend: description: 'If you only have one fieldset on the page you might want to include the title of the page as the legend text. Used with a [captured](http://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#method-i-capture) [title](http://components.publishing.service.gov.uk/component-guide/title)' data: legend_text: |