[Bug 43133] New: Standardize use of label vs legend
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43133 Bug ID: 43133 Summary: Standardize use of label vs legend Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- In the OPAC advanced search page, there are currently section titles that use <label> and others that use <legend>. When customizing the OPAC, it gives unequal results. I was wondering if there was an accessibility or semantic reason for this or if it was just the result of different people doing things differently over the years. To recreate : 1) Go to the OPAC advanced search page http://kohadev.mydnsname.org:8080/cgi-bin/koha/opac-search.pl 2) Click More options 3) Open the dev tool inspector 4) Hover over the following elements and note the tag used - "Search for:" = legend - "Limit to any of the following:" = legend - "Location and availability:" = label - "Sort by:" = label - "Publication range" = label - "Language" = label - "Audience" = label - "Content" = label - "Format" = label - "Additional content types..." = label -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43133 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- A legend is used to identify the contents of a fieldset, so generally multiple inputs. A label identifies a specific input, and doubles as a controller to give focus to the input when you click it. I think the markup is correct, but I'm open to suggestions about how to make customization easier. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org