[Webkit-unassigned] [Bug 122261] New: AX: WebKit should avoid exposing lang=en defined on root <html> because it's frequently incorrect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 2 23:32:05 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=122261
Summary: AX: WebKit should avoid exposing lang=en defined on
root <html> because it's frequently incorrect
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: james at cookiecrook.com
CC: webkit-bug-importer at group.apple.com
AX: WebKit should avoid exposing lang="en" defined on root <html> because it's frequently incorrect, potentially an artifact of a buggy authoring tools that assume everyone speaks English. WebKit could use some heuristics to determine accuracy of these cases, but I'd propose:
1. Expose lang or xml:lang on <html> or <body> *only* when it does not contain the "en" language code.
2. Expose all values of lang or xml:lang on descendant elements of <body>.
Examples:
http://cnnespanol.cnn.com (lists lang="en" on <html> element; should be "es")
http://www.amazon.de (lists lang="en" on <html> element; should be "de")
Other sites do get it right, for example, the localized version of facebook.com lists the correct language code.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list