Opened 8 years ago
Last modified 8 years ago
#40464 new defect (bug)
Embed video in Wordpress gives W3c Markup Validation issue
Reported by: | pmbaldha | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
When embed video in wordpress, the below validation issue occurs:
Error: The frameborder attribute on the iframe element is obsolete. Use CSS instead.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hey there,
Thanks for your report and welcome to Trac!
Although the
frameborder
attribute is not supported by HTML5, browsers do still support it. For broader compatibility, the embed HTML being used by WordPress (seeget_post_embed_html()
) includes that attribute.If we'd remove it, we certainly need to make sure there are no visual regressions.