[Koha-bugs] [Bug 27740] Accessibility: OPAC - Headings should have correct tags and hierarchy
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 5 16:08:06 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27740
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #6 from Owen Leonard <oleonard at myacpl.org> ---
Some comments:
1. We don't need new CSS to hide the heading on the main page. We can add the
Bootstrap class ".sr-only"
2. I don't think it's necessary to add headings inside <caption> and <legend>,
e.g. opac-memberentry.tt:
- <legend id="mainaddress_legend">Main address</legend>
+ <legend id="mainaddress_legend"><h2>Main address</h2></legend>
Semantically speaking I think the legend is correct, and that the heading isn't
necessary. Is there a particular accessibility tool behavior you're trying to
address?
3. It is invalid to put a heading tag inside a <label> (e.g.
opac-advsearch.tt). I have the same question as above about whether this change
addresses some specific need.
4. I disagree that a heading shouldn't be used inside a message like this
(opac-results.tt):
<div class="dialog alert">
- <h4>Error:</h4>
+ <p><strong>Error:</strong></p>
4. This patch adds an invalid file: .opac-readingrecord.tt.swo
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list