Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False analysis: content element anchors are considered as internal links #306

Open
2 tasks done
sebkln opened this issue Oct 14, 2019 · 0 comments
Open
2 tasks done

Comments

@sebkln
Copy link

sebkln commented Oct 14, 2019

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

On a multilanguage website, localized TYPO3 content elements contain an anchor with its localized UID (e.g. <a id="c198"></a>).

These anchor links (missing the href attribute) are considered as internal links in the Yoast SEO analysis.

<!-- TYPO3SEARCH_begin -->
<div id="c197" class="frame frame-default frame-type-textmedia frame-layout-0">
    <a id="c198"></a>
    <header><h1 class="">Localized content element</h1></header>
        <div class="ce-textpic ce-center ce-above">
            <div class="ce-bodytext">
                <p>Some content</p>
            </div>
        </div>
    </div>
<!-- TYPO3SEARCH_end -->

Analysis result: "Internal links: You have enough internal links. Good job!"

Please describe what you expected to happen and why.

This result can be confusing for editors which try to optimize a web page.

The analysis should take into account, if an anchor actually contains the href attribute.

How can we reproduce this behavior?

  1. Set up a minimal TYPO3 installation with two frontend languages.
  2. Localize some content element in the TYPO3 backend.
  3. Analyse the Page Translation containing the localized content.

Technical info

  • TYPO3 version: 9.5.9
  • Yoast SEO version: 5.1.0
@sebkln sebkln changed the title False analysis: False analysis: content element anchors are considered as internal links Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant