amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

target="_self" flagged as 'invalid tag attribute values' in Google Search Console

Open flexdaddy opened this issue 10 years ago • 0 comments

Is there a way to have the plug-in automatically strip out any invalid 'target' attributes on links?

According to the ampproject:

The href attribute value must not begin with javascript:. If set, the target attribute value must be _blank.

Google Search Console has reported content containing anchors with target="_self" as invalid tag attribute values.

flexdaddy avatar Feb 29 '16 15:02 flexdaddy