Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Schema Validator Error: The property noopener is not recognized by the schema (e.g. schema.org) for an object of type Article. #3485

Unanswered
btakita asked this question in Q&A
Discussion options

Hi everyone, I ran the schema validator on rdfa markup that has an <a target=_blank rel=noopener> tag in an Article. The validator gives the error:

The property noopener is not recognized by the schema (e.g. schema.org) for an object of type Article.

Is this a problem with the validator? Since rel=noopener or rel="noopener noreferrer" fixes a security vulnerability when target=_blank. Is there a workaround?

You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

I hope the response isn't too late, but a solution is using a prefix. E.g.,

<html prefix="schema: https://schema.org">
<a href="https://x.com" rel="noopener" rel="noopener schema:YOURSCHEMAPROPERTY" href="http://example.com">test</a>
</html>
You must be logged in to vote
1 reply
@corrideat
Comment options

(you'd use the prefix instead of vocab). E.g., <div typeof="schema:example"> instead of <div vocab="https://schema.org" typeof="example">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.