Jump to content

User:Bryandamon/Sandbox

From Wikipedia, the free encyclopedia

From Wikipedia:Manual_of_Style/Accessibility:

By default, English Wikipedia articles state explicitly to the browser that they are written wholly in English. Text in a language other than English should be tagged as such, typically with a template like {{lang}}, or one of its derivatives. This marks the text with an IETF language tag, which specifies the language and script. For example:

  • ''Assemblée nationale'' is merely italicized, and has not specified that it is French-language text. Most screen readers attempting to handle this will sound ridiculous or confusing.
  • {{lang|fr|Assemblée nationale}} renders as Assemblée nationale, which is italicized by default and will allow screen readers to select a French-language voice.

HTML result:

  • ''Assemblée nationale''
  • <span title="French-language text"><i lang="fr">Assemblée nationale</i></span>