To meet the Web Content Accessibility Guidelines (WCAG) 3.1.1 Language of Page requirement to make page content more accessible to people with disabilities, label any text other than English in the Editor Widget using the HTML attribute <span lang="_"> (example: label Spanish as <span lang="es">).
Instructions
- Navigate to the page with non-English text
- Ensure that Live Edit Is On
- Click inside the Editor widget
- Identify the text that is in a non-English language and highlight it on the non-code side
- Select the Globe/Language Icon to view the language drop-down menu
- Select the appropriate language
Click on the Code View tool
- Ensure that the code reads <span "lang="lang abbreviation">Text</span>
- Note: The <span> tag does not stand for Spanish, it is an HTML text marker.
- Example: <span lang="es">Por favor</span>
- Click the Green Checkmark to exit the editor
- Click Save at the top of the page
Feedback About the Article
Let us know what was helpful or not helpful about the article below.0 comments
Please sign in to leave a comment.