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

A huge part of the articles is truncated in Chrome's Simplified View #4273

Open
homersimpsons opened this issue Apr 16, 2023 · 2 comments
Open
Labels

Comments

@homersimpsons
Copy link
Contributor

On Android, Google Chrome has a Simplified View mode. Under this mode TWiR articles show really badly (see atached screenshots).

I did try to fix it by using a <main> tag but it did not work. I cannot find any relevant documentation on this Chrome's feature. This may be because the "Call for testing" section actually has some text which makes it looks like a real article.

Note that the articles are fine on Firefox's Reader Mode.

I did send a Feedback to Chrome's team too.

Article in Chrome's Simplified View:
Screenshot_20230416-195333

@U007D
Copy link
Contributor

U007D commented Jun 8, 2023

Are you seeing something in the Call for Testing section which could be causing or contributing to this?

@homersimpsons
Copy link
Contributor Author

I read a bit about how this works. In firefox the code for this simplified view is open source, but in chrome they don't want to details it to avoid people abusing it.

From what I understand:

  • The HTML tag used have no importance: <article>, <section>, <main>, <h*> and the like are not taken into account.
  • Chrome's try to guess what is the content of the page, In Firefox it looks like they are trying to find paragraphs with a sufficient number of words to be the main content.

So to me what makes this behaviour is that:

  • Almost all content before the Call for Testing section are just links which could be interpreted as a "navigation section" by Chrome's rules
  • The Call for Testing section is basically a "huge" block of text which certainly looks more like a paragraph

Maybe adding paragraphs under each title to describe what is the content of the sections could help the algorithm to identify such paragraphs but I do not know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants