From the beginning of this month, W3C XHTML started to point out this error:
The
type
attribute is unnecessary for JavaScript resources.
I do not use type
anymore in my JavaScript but this above error 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.
So I need help. I am in version 3.8.3 and error still there.
You have to set the correct joomla output to HTML5. Write in your Template index (above where is the PHP code portion):
// Set HTML5 Document Output
$doc = JFactory::getDocument();
$doc->setHtml5(true);
All "Type" declarations through Joomla HEAD Renderer must disappear.