Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11y Code Sprint Berlin: Success Criterion 9.3.1.1. - provide functionality to markup language in RTE #1310

Closed
SarahEdding opened this issue May 31, 2023 · 3 comments
Assignees
Labels

Comments

@SarahEdding
Copy link

Feature Request

Description

In order to make content properly readable for a screen reader, it's language must be determinable. If passages of text differ from the page's document language, this must be marked up by the editor.

Solution

The richt text editor must offer a functionality to editors to mark a passage of text as written in another language, for instance in Polish. The editor should be able to mark a passage and press a button to add the language markup. The text passage should then be wrapped in a <span> with lang="pl"

This needn't necessarily be implemented for every international language.
For the Introduction Package in this instance to be compliant, the following languages must be implemented:

  • Bulgarian
  • Czech
  • Dutch
  • English
  • Esperanto
  • French
  • German
  • Greek (monotonic)
  • Greek (polytonic)
  • Hebrew
  • Hungarian
  • Icelandic
  • Irish
  • Jamaican
  • Japanese (Hiragana)
  • Polish
  • Portuguese
  • Sami (Northern)
  • Slovak
  • Spanish
  • Swedish
  • Russian

Alternative

If this is too time consuming to implement, the language markup could be added manuall via RTE html editing; However, this functionality must be provided to editors if they are to manage content in an accessible way.

@cumuru
Copy link
Contributor

cumuru commented Jun 6, 2023

Plugins/Features to check:
ckeditor v5: https://ckeditor.com/docs/ckeditor5/latest/features/language.html
ckeditor v4: https://ckeditor.com/cke4/addon/language

@SarahEdding
Copy link
Author

I can't see the language button, yet.
image
@alexakressmann should I add the languange markup manually, for now?

@AlexaWunn
Copy link

@AlexaWunn AlexaWunn closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants