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

Reading Mode in Chrome does include all page content #4439

Open
MartinJJones opened this issue Nov 26, 2024 · 1 comment
Open

Reading Mode in Chrome does include all page content #4439

MartinJJones opened this issue Nov 26, 2024 · 1 comment

Comments

@MartinJJones
Copy link
Contributor

MartinJJones commented Nov 26, 2024

What

A significant amount of content is not included when using Chrome's built-in Reading Mode on GOV.UK

How to reproduce

You will notice that some of the content included on the page is missing from the Reading Mode panel.

Example screenshot showing missing list items

reading-mode

Note: When the viewport width is reduced, more/all content will appear in the Reading panel

@MartinJJones MartinJJones changed the title Reading Mode in Chrome does include on page content Reading Mode in Chrome does include all page content Nov 26, 2024
@jon-kirwan
Copy link
Contributor

jon-kirwan commented Dec 4, 2024

Strange issue, perhaps a bug? I’ve encountered the same problem. Interestingly, when I opened both reading mode and DevTools together and refreshed the page, the list items appeared. However, as soon as I closed DevTools and refreshed the page again, the list items were hidden.

Also, I created a minimal test page, but the list items are still missing:

<main>
    <h1>Title</h1>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>
    <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit.</p>
</main>

I couldn’t find much information about this problem, but I did come across a logged issue on WordPress where someone described a very similar problem: WordPress/gutenberg#65536

Additionally, I checked https://www.gov.uk/set-up-business in Firefox Reader Mode. Interestingly, the "toggle reader view" icon doesn’t even appear for the test page (even though it does show up for pages on other sites, like those from BBC).

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

2 participants