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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected],
[email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/