You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is especially important in the context of using H5P in language instruction eTexts where switching between two (or more) languages in the text is quite common. For example, the need to write:
Select the correct phrase that represents the plural form of “el libro” (the Spanish for "the books")
which would need to be coded as:
<div>Select the correct phrase that represents the plural form of <span lang="es">"el libro"</span> (the Spanish for "the books")</div>
This assumes a parent container is indicating the default language of the text (i.e.: <html lang="en">).
Thanks!
The text was updated successfully, but these errors were encountered:
On H5P.com there's already a version of H5P core/CKEditor integration that allows defining lang attributes and I was told that this would eventually find its way into the regular version.
It appears that the question editor does not support marking up changes in text language.
Please see https://developer.paciellogroup.com/blog/2016/06/using-the-html-lang-attribute/ for an excellent explanation of the concern. This mainly affects non-visual users that depend on screen-reading software for access with text-to-speech.
The related WCAG 2.0/2.1 Success Criteria is SC 3.1.2 (Level AA): https://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html
See https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/H58 (Using language attributes to identify changes in the human language) for more info.
This is especially important in the context of using H5P in language instruction eTexts where switching between two (or more) languages in the text is quite common. For example, the need to write:
which would need to be coded as:
<div>Select the correct phrase that represents the plural form of <span lang="es">"el libro"</span> (the Spanish for "the books")</div>
This assumes a parent container is indicating the default language of the text (i.e.:
<html lang="en">
).Thanks!
The text was updated successfully, but these errors were encountered: