bidi control

info bidi-control Titles, descriptions and headings

Invisible bidirectional control characters — LRM and RLM (U+200E, U+200F), embeddings and overrides (U+202A–U+202E), isolates (U+2066–U+2069) — inside the ``, the meta description or the URL path. A template that mixes an Arabic or Hebrew name with Latin text often adds them to fix the order on screen. Search engines do not need them: the snippet can come out truncated or reordered, a copied address carries `%E2%80%8F` along, and two titles that look the same no longer compare equal. Info: the text reads fine, but the fix belongs in the template, with `dir` on the element instead of marks in the string.</p> <h2>What indexgap reports</h2> <p>The finding reads:</p> <pre><code>info bidi-control —</code></pre> <h2>How to fix it</h2><div class="fix"><p>Remove U+200E/U+200F, U+202A–U+202E and U+2066–U+2069 from the title, description and slug templates: the writing direction is set by dir on the page, not by marks inside the string.</p></div> <h2>How it behaves at scale</h2> <p>Collapsed when it fires <b>template-wide</b>. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.</p> <h2>Finding it</h2> <pre><code>pipx install indexgap cd your-project indexgap init indexgap check</code></pre> <p>Then <a href="../commands/brief.html"><code>indexgap brief</code></a> turns every finding on this page into a work order in <code>indexgap-briefs/</code>, with the thresholds the result has to satisfy and the command to check it.</p> <h2>Related checks in titles, descriptions and headings</h2> <ul class="plain"><li><a href="no-title.html">no-title</a><span>no title</span></li><li><a href="title-short.html">title-short</a><span>title short</span></li><li><a href="title-long.html">title-long</a><span>title long</span></li><li><a href="duplicate-title.html">duplicate-title</a><span>duplicate title</span></li><li><a href="no-description.html">no-description</a><span>no description</span></li><li><a href="description-length.html">description-length</a><span>description length</span></li><li><a href="duplicate-description.html">duplicate-description</a><span>duplicate description</span></li><li><a href="no-h1.html">no-h1</a><span>no h1</span></li><li><a href="many-h1.html">many-h1</a><span>many h1</span></li><li><a href="no-headings.html">no-headings</a><span>no headings</span></li><li><a href="title-h1-mismatch.html">title-h1-mismatch</a><span>title h1 mismatch</span></li><li><a href="no-structure.html">no-structure</a><span>no structure</span></li><li><a href="img-no-alt.html">img-no-alt</a><span>img no alt</span></li><li><a href="img-alt-filler.html">img-alt-filler</a><span>img alt filler</span></li><li><a href="img-alt-language.html">img-alt-language</a><span>img alt language</span></li><li><a href="vague-anchor.html">vague-anchor</a><span>vague anchor</span></li><li><a href="no-og.html">no-og</a><span>no og</span></li><li><a href="no-viewport.html">no-viewport</a><span>no viewport</span></li><li><a href="heavy-images.html">heavy-images</a><span>heavy images</span></li><li><a href="broken-image.html">broken-image</a><span>broken image</span></li></ul> <p><a href="index.html">All checks</a> · <a href="index.html#head">Titles, descriptions and headings</a></p> <footer> <p>By Alexey Borisov. Updated <time datetime="2026-12-05">2026-12-05</time>, for indexgap 3.0.1.</p> <p>indexgap 3.0.1 — quality control for programmatic SEO pipelines. Python 3.9+, standard library only. MIT. <a href="https://github.com/borisowlexa2010-star/IndexGap">Source on GitHub</a>.</p> <p>This site is generated from the package's own check registry by <code>tools/build_docs.py</code>, so it cannot drift from the code it documents.</p> </footer> </div> </body> </html>