Reader view does not respect Content-Language http equiv tag

ASSIGNED
Assigned to

Status

()

ASSIGNED
4 years ago
3 years ago

People

(Reporter: dusek, Assigned: dusek)

Tracking

(Blocks: 1 bug, {access})

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

4 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17

Steps to reproduce:

1. Use iOS with English (US) UI
2. Open a webpage that does not use "lang" attribute in HTML, does not return Content-Language in HTTP response headers but has Content-Language in the meta section (e.g. <meta http-equiv="content-language" content="cs">) - e.g. a specific article on mobile version of idnes.cz (opened by default by Firefox and Safari on iOS, can be achieved also e.g. with Safari on OS X by setting user agent to iPhone Safari).
3. Open Reader Mode
4. Launch VoiceOver
has reader mode and at the same time is in a language different from English (US) UI (e.g. the French wikipedia page about Firefox at http://fr.wikipedia.org/wiki/Mozilla_Firefox
3. Open Reader Mode



Actual results:

VoiceOver reads the whole reader mode webpage with Czech voice.


Expected results:

VoiceOver reads the whole reader mode webpage with English US voice (the default voice/language).

Updated

4 years ago
Blocks: 1152335
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
tracking-fennec: --- → ?
Boris, you interested in this?
tracking-fennec: ? → +
Flags: needinfo?(dusek)
(Assignee)

Comment 2

4 years ago
Yep, will do after 2 other issues (Bug 1164231 and Bug 1164236).
Flags: needinfo?(dusek)
(Assignee)

Comment 3

4 years ago
Upon rereading now, I can't believe how much I screwed up the original report. Here is a corrected version:

Steps to reproduce:

1. Use iOS with English (US) UI
2. Open a webpage that does not use "lang" attribute in HTML, does not return Content-Language in HTTP response headers but has Content-Language in the meta section (e.g. <meta http-equiv="content-language" content="cs">) - e.g. open mobile version of idnes.cz and there open a link to any specific article.
3. Open Reader Mode
4. Launch VoiceOver and let it read the reader mode content (flick down with two fingers)


Actual results:

VoiceOver reads the whole reader mode webpage with English US voice (the default voice/language).


Expected results:

VoiceOver reads the whole reader mode webpage with Czech voice, as it has <meta http-equiv="content-language" content="cs"> and does not use lang attribute in HTML nor does the server return Content-Language in the HTTP response.
(Assignee)

Comment 4

4 years ago
Also need to verify if with Content-Language header present in HTTP response, the same header gets also passed in HTTP response of the built-in server for the reader mode.
Assignee: nobody → dusek

Updated

3 years ago
tracking-fxios: --- → +
Status: NEW → ASSIGNED
We will definitely take a patch for this, but taking it out of the tracking list.
tracking-fennec: + → ---
tracking-fxios: + → ---
Hardware: Other → All
You need to log in before you can comment on or make changes to this bug.