WordPress.org

Making WordPress.org

Opened 8 weeks ago

Last modified 8 weeks ago

#5144 new defect

[all websites] Declare HTML5 scripts and styles support for better compliance with W3C validator

Reported by: audrasjb Owned by:
Milestone: Priority: normal
Component: General Keywords: has-patch
Cc:

Description

Hi,

Given almost all WordPress themes are written in HTML5, they should declare HTML5 support for styles and scripts to avoid using type attributes in styles and scripts. Otherwise, W3C validator will throw a warning because of the type element.

This option was introduced in WordPress 5.3. For reference, see:

Attachments (1)

5144.diff (4.1 KB) - added by audrasjb 8 weeks ago.
Declare HTML5 scripts and styles support for better compliance with HTML5 standards

Download all attachments as: .zip

Change History (2)

@audrasjb
8 weeks ago

Declare HTML5 scripts and styles support for better compliance with HTML5 standards

#1 @audrasjb
8 weeks ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.