{"id":3436,"date":"2026-11-28T16:11:15","date_gmt":"2026-11-28T16:11:15","guid":{"rendered":"https:\/\/danieldavidreitberg.com\/?p=3436"},"modified":"2026-11-28T16:11:15","modified_gmt":"2026-11-28T16:11:15","slug":"dr-ai-b553978e85c8148c3a34","status":"publish","type":"post","link":"https:\/\/danieldavidreitberg.com\/index.php\/2026\/11\/28\/dr-ai-b553978e85c8148c3a34\/","title":{"rendered":"Check Find-in-Page After Optimizing a Long Story"},"content":{"rendered":"<p>A long interview receives a rendering optimization for sections far down the page. A reader later uses find-in-page to jump directly to an answer buried near the end. The relevant question is not just whether the optimization made opening faster. It is whether the reader can still reach the content by that route.<\/p>\n<p>Reference: <a href=\"https:\/\/www.w3.org\/TR\/css-contain-2\/#content-visibility\">W3C CSS Containment content visibility<\/a>. CSS content-visibility can let a user agent skip rendering some content under stated conditions.<\/p>\n<h2>Apply content-visibility<\/h2>\n<p>Use a rendering hint such as content-visibility: auto only with the behavior it is meant to provide. The auto value is not a way to remove parts of an article from ordinary discovery or interaction. Do not treat it as interchangeable with hidden. Keep meaningful headings and link targets in the document and inspect how the supported browser restores or renders a section when it becomes relevant. Check focus, available content and layout as well as speed; reducing some rendering work does not guarantee an improvement for every article.<\/p>\n<h2>Verify behavior<\/h2>\n<p>In a fictional long interview, place a distinctive phrase well below the first screen. Try finding it with the browser, jumping to an existing section link and using the keyboard to reach a link inside that section. Compare the optimized layout with its baseline. Verify that the heading and answer become readable and are not covered by a header or moved away by a layout change. Include a representative browser and assistive technology combination to check the behavior that matters to the publication.<\/p>\n<p>Keep that long interview in the regression fixtures. If a speed change makes a valid reading path unreliable, remove or narrow the change until both requirements can be tested again.<\/p>\n<p>No one should have to scroll from the top solely to make an existing section available.<\/p>\n<p>Test a direct link opened in a new tab too. Someone following a citation can arrive at the optimized section before seeing the rest of the story.<\/p>\n<p><!-- drai-run:b553978e85c8148c3a34 --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A performance enhancement needs a reading-path test as well as a speed measurement.<\/p>\n","protected":false},"author":4,"featured_media":3437,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/posts\/3436"}],"collection":[{"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/comments?post=3436"}],"version-history":[{"count":1,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/posts\/3436\/revisions"}],"predecessor-version":[{"id":3438,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/posts\/3436\/revisions\/3438"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/media\/3437"}],"wp:attachment":[{"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/media?parent=3436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/categories?post=3436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danieldavidreitberg.com\/index.php\/wp-json\/wp\/v2\/tags?post=3436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}