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

CKEditor: Activate abbr-Tag and lang-Attribute for more accessible content creation #7363

Open
datenwerk-at opened this issue Apr 11, 2024 · 5 comments
Assignees
Labels
Design in progress The feature requires a design and the design is currenlty in progress. Feature New functionality not yet included in Sulu

Comments

@datenwerk-at
Copy link

Problem description

By default there is no possibility to explain abbreviations in RTE content. Further there is no possibility to mark parts of the RTE content written in another language.

See:
https://www.w3.org/WAI/WCAG22/Understanding/language-of-parts.html (WCAG 2.2. AA)
https://www.w3.org/WAI/WCAG22/Understanding/abbreviations.html (WCAG 2.2. AAA)

Proposed solution

Enable these features by default in the CKEditor of Sulu CMS.

@datenwerk-at datenwerk-at added the Feature New functionality not yet included in Sulu label Apr 11, 2024
@alexander-schranz
Copy link
Member

Think we could add:

For the abbr I could not yet find a plugin for CKEditor 5 🤔

@datenwerk-at
Copy link
Author

datenwerk-at commented Apr 12, 2024

There is a tutorial for a advanced CKEditor 5 Plugin for abbreviations https://ckeditor.com/docs/ckeditor5/latest/tutorials/abbreviation-plugin/abbreviation-plugin-level-1.html (all 3 steps of creating an advanced plugin)

@alexander-schranz alexander-schranz added the Design required For this issue a design form our UX expert is required label Apr 15, 2024
@alexander-schranz
Copy link
Member

We already installed now the language plugin but it is not enabled by default. It requires some configuration like languages and so on. At currentl 2.6.*@dev state it can be configured via our ckeditor registries: https://github.com/sulu/sulu/blob/2.5/src/Sulu/Bundle/AdminBundle/Resources/js/containers/CKEditor5/README.md

@alexander-schranz alexander-schranz added Design in progress The feature requires a design and the design is currenlty in progress. and removed Design required For this issue a design form our UX expert is required labels Apr 18, 2024
@alexander-schranz
Copy link
Member

alexander-schranz commented Apr 18, 2024

Had a meeting today with the UX/UI team and briefed them about how we can make <abbr> and [lang] better visible for the Content Manager as the implementation of CKEditor is specially for the [lang] not visible in the text itself.

Creating an own plugin for abbrevation I would like to avoid and more then maybe check if CKEditor will have a abbr plugin core plugin itself. As maintaining a CKEditor plugin would require it to keep uptodate with the Major versions CKEditor always releases and it where about 37 major releases since we started using CKEditor 5 in Sulu 2.0.

@datenwerk-at
Copy link
Author

More important is the "language of part" thing because Level AA is required for more websites with the accessibility act from 2025. Sites of public institution already need it.
I'm happy that you startet with this so fast. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design in progress The feature requires a design and the design is currenlty in progress. Feature New functionality not yet included in Sulu
Projects
None yet
Development

No branches or pull requests

3 participants