Category: Form Fieldset

  • Fieldset legend, aria-describedby, and radiogroup role

    The HTML specifications for forms suggests using a <fieldset> with <legend> to define similar items within a form. Normally this is used to combine the forms into large chunks, for instance the billing address, credit card information, and personal information. It’s also useful for combining radio and checkbox sets. Typically, we associate a form input […]

  • Using aria-describedby to replicate fieldset and legend

    Complex forms should use a fieldset and legend to group similar inputs. The legend is announced along with label text for each input. This is especially helpful when form inputs are repetitive, such as mailing, billing, and work address information. This example fixes a form that included a form within a table. It uses the […]