[Koha-bugs] [Bug 12863] News in OPAC: HTML broken with nested p tags and multiple thead in same table
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 8 00:17:51 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12863
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31394|0 |1
is obsolete| |
Attachment #31398|0 |1
is obsolete| |
--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 31443
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31443&action=edit
[PASSED QA] Bug 12863 - News in OPAC: HTML broken with nested p tags and
multiple thead in same table
This patch fixes broken HTML in OPAC news by replacing table display
with divs.
To test:
Create multiple news for OPAC
Validate with HTML validator or check source code
Result:
Error with nested p tags
Table header thead is repeated for every news (not allowed)
Bonus testing: Let a screen reader like NVDA read the news and try to
understand it with closed eyes.
Apply patch
Result:
No more HTML errors in news
Screen reader reads news properly
To style you can use classes newscontainer, newsitem, newsheader,
newsbody and newsfooter.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Works as described, passes tests and QA script.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list