https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43758 Bug ID: 43758 Summary: Accessibility: Add missing legend to login form fieldset in OPAC Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Accessibility Assignee: koha-bugs@lists.koha-community.org Reporter: lisette@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk, matt.blenkinsop@openfifth.co.uk, oleonard@myacpl.org Target Milestone: --- The login form contains a <fieldset> without a corresponding <legend> element. Accessibility testing reports: Fieldset missing legend A fieldset does not have a legend. The affected markup is: <fieldset class="action"> <input type="hidden" name="login_op" value="cud-login"> <input type="submit" value="Log in" class="btn btn-primary"> </fieldset> A <fieldset> should have a <legend> that describes the group of form controls it contains. Without a legend, assistive technologies may not have an accessible description for the grouped controls. Since this fieldset appears to contain only a hidden input and the "Log in" submit button, we should also determine whether a <fieldset> is semantically necessary here. If it is needed, an appropriate <legend> should be added. Otherwise, the fieldset could potentially be replaced with a non-semantic container. Steps to reproduce Navigate to the login page. Run an accessibility check using WAVE or another accessibility testing tool. Inspect the login form. Observe that the <fieldset class="action"> element does not contain a <legend>. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.