[Koha-bugs] [Bug 20053] New: Drop type attribute "text/javascript" used in OPAC template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 21 18:08:50 CET 2018


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

            Bug ID: 20053
           Summary: Drop type attribute "text/javascript" used in OPAC
                    template
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: indradg at l2c2.co.in
        QA Contact: testopia at bugs.koha-community.org

If you run the Koha OPAC pages through the W3C validator it generates warnings
about type attribute "text/javascript", since W3C now officially describes this
as obsolete in HTML5 but still conforming to the standard with warnings [1]

Since we are already pumping up HTML5 with <!DOCTYPE html>, I was thinking if
we should consider an omnibus update to the following 47 templates so affected.

The 47 templates:

includes/calendar.inc
includes/columns_settings.inc
includes/datatables.inc
includes/doc-head-close.inc
includes/greybox.inc
includes/opac-bottom.inc
includes/password_check.inc
includes/slip-print.inc
modules/clubs/clubs-tab.tt
modules/clubs/enroll.tt
modules/opac-account.tt
modules/opac-advsearch.tt
modules/opac-auth-detail.tt
modules/opac-auth-MARCdetail.tt
modules/opac-auth.tt
modules/opac-basket.tt
modules/opac-course-details.tt
modules/opac-course-reserves.tt
modules/opac-detail.tt
modules/opac-downloadshelf.tt
modules/opac-full-serial-issues.tt
modules/opac-idref.tt
modules/opac-illrequests.tt
modules/opac-imageviewer.tt
modules/opac-MARCdetail.tt
modules/opac-memberentry.tt
modules/opac-messaging.tt
modules/opac-overdrive-search.tt
modules/opac-passwd.tt
modules/opac-password-recovery.tt
modules/opac-readingrecord.tt
modules/opac-request-article.tt
modules/opac-reserve.tt
modules/opac-results-grouped.tt
modules/opac-results.tt
modules/opac-review.tt
modules/opac-search-history.tt
modules/opac-shareshelf.tt
modules/opac-shelves.tt
modules/opac-showreviews.tt
modules/opac-suggestions.tt
modules/opac-tags.tt
modules/opac-topissues.tt
modules/opac-user.tt
modules/sco/help.tt
modules/sco/printslip.tt
modules/sco/sco-main.tt


Reference:

[1]
https://www.w3.org/TR/2017/REC-html52-20171214/obsolete.html#warnings-for-obsolete-but-conforming-features

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


More information about the Koha-bugs mailing list