Closed
Bug 474308
Opened 17 years ago
Closed 14 years ago
Non-English content is marked up with an xml:lang attribute of "en-us", causing incorrect pronounciation through screen reading software
Categories
(developer.mozilla.org Graveyard :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: MarcoZ, Unassigned)
References
()
Details
(Keywords: access)
When visiting the above URL, the following is in the header of the resulting HTML:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" >
The content, however, is clearly German.
The result, when viewing this page with a screen reader for the blind, is that the German text is being read by using an English voice, meaning German words get pronounced with English phonetics and pronounciation rules, making it impossible to decipher.
The value of the language attribute put here must be sensitive to the actual content displayed. Since the system knows what language the content is in, it should set the xml:lang and lang attributes accordingly. Otherwise, text simply isn't intelligible.
Comment 1•17 years ago
|
||
Filed bug with MindTouch: http://bugs.developer.mindtouch.com/view.php?id=5646
Comment 2•14 years ago
|
||
Hi Marco. We are currently redeveloping the software that powers the MDN. I have opened bug 675836 to ensure we do not make the same mistake MindTouch did.
For now, it seems that MindTouch has in fact fixed this bug. German doc pages, for example, use the following markup:
<html lang="de" dir="ltr" id="developer-mozilla-org">
Marco, Sheppy, Raymond: Can you confirm that this has been fixed?
Status: NEW → RESOLVED
Closed: 14 years ago
Priority: -- → P3
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•13 years ago
|
Component: Deki Infrastructure → Other
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•