solex2006 / SELIProject

SELI Project
9 stars 17 forks source link

The default human language of each Web page can be programmatically determined #120

Open ecureuill opened 4 years ago

ecureuill commented 4 years ago

This is a "not-end" requirement. What I want to mean is that this should be considered for any new page you create that Student can access. Also should correct the old pages.

I will use the label Feature Design Notes to this cases


WCAG: 3.1.1

The objective of this technique is to identify the default language of a document by providing the lang attribute on the html element.

Identifying the language of the document is important for a number of reasons:

It allows braille translation software to substitute control codes for accented characters, and insert control codes necessary to prevent erroneous creation of Grade 2 braille contractions. Speech synthesizers that support multiple languages will be able to orient and adapt to the pronunciation and syntax that are specific to the language of the page, speaking the text in the appropriate accent with proper pronunciation. Marking the language can benefit future developments in technology, for example users who are unable to translate between languages themselves will be able to use machines to translate unfamiliar languages. Marking the language can also assist user agents in providing definitions using a dictionary.

Example. A Web page with content in two languages

A Web page produced in Germany and written in HTML includes content in both German and English, but most of the content is in German. The default human language is identified as German (de) by the lang attribute on the html element.

github-actions[bot] commented 4 years ago

This Feature is ready to be implemented.

github-actions[bot] commented 4 years ago

This issue is easy for contributing. Everyone can work on this.

ecureuill commented 4 years ago

Failure