Type attribute is unnecessary for JavaScript resources

by Ricardo   Last Updated January 08, 2018 21:10 PM

From the beginning of december 17, W3C XHTML started to point out this error:

The type attribute is unnecessary for JavaScript resources.

The above warning is generated inside Joomla script itself to call modules or jQuery, CSS, etc. and is not written in any Joomla file. Probably is related the way Joomla call scripts in core files. This problem also appears in Wordpress, but a workaround was found: https://wordpress.stackexchange.com/questions/287830/remove-type-attribute-from-script-and-style-tags-added-by-wordpress. In Joomla I removed all the modules, the warnings decrease, but still there. I tested with another template,updated Joomla version to 3.8.3 and no solution.

Tags : javascript

Related Questions

Create custom module with javascript .js

Updated November 25, 2016 08:04 AM

Joomla async and defer - Joomshaper

Updated March 10, 2017 03:10 AM