Open Bug 1158514 Opened 9 years ago Updated 2 years ago

Reader view does not respect Content-Language http equiv tag

Categories

(Firefox for iOS :: Reader View, defect)

All
iOS
defect

Tracking

()

People

(Reporter: dusek, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: access)

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).
Blocks: iosa11y
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
tracking-fennec: --- → ?
Boris, you interested in this?
tracking-fennec: ? → +
Flags: needinfo?(dusek)
Yep, will do after 2 other issues (Bug 1164231 and Bug 1164236).
Flags: needinfo?(dusek)
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.
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
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

The bug assignee didn't login in Bugzilla in the last 7 months.
:jeevans, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: dusek → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(jeevans)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.