Bug 40614 - Invalid markup in cookie consent modal
Summary: Invalid markup in cookie consent modal
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 16:22 UTC by Owen Leonard
Modified: 2025-08-07 16:35 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40614: Invalid markup in cookie consent modal (1.62 KB, patch)
2025-08-07 16:35 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2025-08-07 16:22:01 UTC
The W3C validator complains about a "type" attribute on an <a> tag. It can be safely removed.
Comment 1 Owen Leonard 2025-08-07 16:35:31 UTC
Created attachment 185232 [details] [review]
Bug 40614: Invalid markup in cookie consent modal

This patch corrects a minor markup error in the OPAC's cookie consent
modal, removing a "type" attribute from an <a> tag.

To test apply the patch and make sure you have the CookieConsent system
preference enabled.

- Go to the OPAC. You should see a cookie consent banner across the
  bottom of the page.
- Click "More information."
- Click "Cancel" in the modal window. The modal should close.

Sponsored-by: Athens County Public Libraries