Open Bug 1880219 Opened 1 year ago Updated 1 year ago

Inconsistent parsing of editorial featured header images in LaPresse.ca's articles

Categories

(Toolkit :: Reader Mode, defect, P5)

Firefox 122
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nekohayo, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

Visit these articles and activate Firefox's Reader mode:

  1. https://www.lapresse.ca/international/etats-unis/2024-02-13/les-republicains-inculpent-le-secretaire-a-la-securite-interieure.php
  2. https://www.lapresse.ca/affaires/entreprises/2024-02-13/costco-cherche-toujours-a-reduire-les-prix-selon-un-de-ses-dirigeants.php
  3. https://www.lapresse.ca/actualites/environnement/2024-02-13/montreal/le-plastique-a-usage-unique-en-voie-de-disparition.php
  4. https://www.lapresse.ca/actualites/grand-montreal/2024-02-13/vie-nocturne-a-montreal/le-but-ce-n-est-pas-d-etre-las-vegas.php

Actual results:

  • Articles 1 and 2 don't show their 1st image in reader mode (unexpected behavior)
  • Articles 3 and 4 show their 1st image in reader mode (nice!)

Expected results:

Articles 1 and 2 should render the image in editorial mode.

As you can see in this attached screenshot comparing the 4 pages' source code near those images, articles 3 and 4 have some "just above the title" topic text like this:

<small class="suptitle titleModule__sup">
     Vie nocturne à Montréal
</small>

…whereas articles 1 and 2 (that don't show the image) don't have such a "suptitle" text. At least, that's the difference that jumps at me in the code.

In the original description above:

Articles 1 and 2 should render the image in editorial mode.

I meant "Articles 1 and 2 should render the image in Reader mode."

Summary: Inconsistent parsing of editorial featured hero images in LaPresse.ca's articles → Inconsistent parsing of editorial featured header images in LaPresse.ca's articles
Severity: -- → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: