In order to meet the WCAG criteria 3.1.2 : Language of Parts authors need to be able to identify phrases of content that are written in different (human) language from the surrounding text.
This allows assistive technology to process it properly - for example a screen reader will attempt to pronounce it correctly.
In order to meet the WCAG criteria 3.1.2 : Language of Parts authors need to be able to identify phrases of content that are written in different (human) language from the surrounding text.
This allows assistive technology to process it properly - for example a screen reader will attempt to pronounce it correctly.
An example on our demo site: https://demo.localgovdrupal.org/national-parks-uk/pembrokeshire-coast . The Welsh name: Parc Cenedlaethol Arfordir Penfro could be wrapped in a
<span lang="cy-GB">
(Note: proper names are an exception on the criteria so don't have to conform, but they should)
Recommendation: Add the language switcher to the Text editor by default. I suggest we allow Drupal's 107 predefined languages.