', str(f))
+ f = FieldsetForm(auto_id="custom_%s")
+ # aria-describedby uses custom auto_id.
+ self.assertIn('fieldset aria-describedby="custom_checkbox_helptext"', str(f))
+ self.assertIn('
', str(f))
+
+ def test_fieldset_custom_aria_describedby(self):
+ # aria-describedby set on widget results in aria-describedby being
+ # added to widget and not the