[wp-trac] [WordPress Trac] #6872: Always set the language attribute
on a WordPress site
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 29 11:30:33 GMT 2008
#6872: Always set the language attribute on a WordPress site
----------------------+-----------------------------------------------------
Reporter: MarcoZ | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.2
Component: Template | Version: 2.5.1
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
On a standard WordPress installation that is not localized (e.g. $WPLANG
is empty in wp-config.php), WordPress does not set a default lang and
xml:lang attribute on the pages when it renders them. I come from Germany,
and while my speech synthesizer used to read text to me is capable of
speaking English, it does not switch to it automatically when I load my
own or many other WordPress sites. If this lang attribute was set to en-us
when there's no override, this would allow the speech synthesizer to
switch automatically.
--
Ticket URL: <http://trac.wordpress.org/ticket/6872>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list