[Koha-bugs] [Bug 22948] Markup error in OPAC bibliographic detail template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 31 21:53:12 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22948

Bin Wen <bin.wen at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90248|0                           |1
        is obsolete|                            |

--- Comment #3 from Bin Wen <bin.wen at inlibro.com> ---
Created attachment 90257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90257&action=edit
Bug 22948: Markup error in OPAC bibliographic detail template

This patch addresses one markup problem in opac-detail.tt which triggers
a validation error.

To reproduce the problem, view the normal bibliographic detail page for
a record in the OPAC. Run the page through the W3C validation service:
https://validator.w3.org. Either by pasting in the URL for the search
results (if web accessible) or by viewing source, copying, and pasting
into "Validate by Direct Input."

This patch addresses one specific error:

 - "The aria-labelledby attribute must point to an element in the same
   document."

To test, apply the patch and try again to reproduce the validation
errors. Those errors should no longer be present. There should be no
visible change to the page.

Test the "Save record -> Dublin Core" menu item. It should trigger a
modal window.

Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Signed-off-by: Bin Wen <bin.wen at inlibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list