https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42232 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fixes an accessibility release notes| |issue on the patron's OPAC | |account messaging | |preferences form: Missing | |legend for the fieldset | |with submit changes and | |cancel buttons. | | | |It adds a legend tag | |"visible" for screen reader | |patrons so that it is clear | |for the group of buttons | |what they are being asked | |to do. CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. Before the patch, inspecting the HTML source: <fieldset class="action"> <input type="submit" value="Submit changes" class="btn btn-primary"> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a> </fieldset> 2. After the patch: <fieldset class="action"> <legend class="sr-only">Submit or cancel changes</legend> <input type="submit" value="Submit changes" class="btn btn-primary"> <a class="cancel" href="/cgi-bin/koha/opac-user.pl">Cancel</a> </fieldset> 3. Surprising the axe DevTools didn't flag this as an issue, just going to show that while automated tools are useful, they don't always flag issues. Some references: - Vision Australia, Removing form barriers: When to use the fieldset and legend elements, https://www.visionaustralia.org/business-consulting/digital-access/removing-... - W3C, WCAG Techniques - Providing a description for groups of form controls using fieldset and legend elements, https://www.w3.org/WAI/WCAG22/Techniques/html/H71 - W3C, Forms Tutorial - Grouping Controls https://www.w3.org/WAI/tutorials/forms/grouping/ - Gov.UK: . Design system: Fieldset https://design-system.service.gov.uk/components/fieldset/ . Blog from 2016: Using the fieldset and legend elements https://accessibility.blog.gov.uk/2016/07/22/using-the-fieldset-and-legend-e... -- You are receiving this mail because: You are watching all bug changes.