-
Notifications
You must be signed in to change notification settings - Fork 69
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
Plan to strip IDs from rich text editors #13204
Comments
Notes from Meeting with Randi and Megan 5/3:
|
@laflannery do you know of ways that we could measure the scale of this issue and therefore measure the impact the change has? Maybe something obvious like the number of duplicate pages and seeing how that trends over time, but not sure if there are other less obvious things to measure? |
@productmike I think there are a few things we are talking about here so to clarify I'll break them out:
Does this information help answer your question at all? |
I talked to @timcosgrove to think about the issue of broken anchor links that this update may worsen - while it most likely would not be a simple lift, it wouldn't be impossible to figure out a way to find and surface these in some type of report. |
Change Management informationIDs will no longer be allowed in rich text editors. This means that:
The front end process of the site build automatically adds IDs to header elements based on the text of the header. The process has guardrails in place to ensure all these IDs are unique. However, when IDs are manually added into rich text editors these are not part of the automatic ID process and it causes duplicate IDs, which is an accessibility error. By stripping IDs from rich text editors and only allowing these to be added automatically, we can avoid duplicate IDs and allow editors to create better, more accessible content within the CMS. This change will impact all CMS editors. We are alerted of duplicate ID errors when they occur with the daily accessibility scan report. We will be able to define and measure success for this change using this same report when we see that this particular error is no longer reported in the scan results. The change should not require any updates to existing Knowledge Base articles, training videos or CMS UI. It also should not require any new KB articles, training videos or CMS UI. This change will not be tested with users before release. This change will occur at the same time that the update to CKEditor 5 occurs. There is an existing risk that should be thought through - currently we have no way of surfacing broken anchor links. The SWCAIA team only fixes these when they happen upon them and are at that point able to go fix them. The risk of this update is:
*To clarify, these broken anchor links should still work to direct the user to the proper page but they will not direct the user to the specific section on that page any longer. Next steps@productmike I think the next steps could be to discuss with Erika to see how she feels about this given all the information and if we can move forward with this update when we move to CKeditor5 or if she feels the potential issue of the anchor links would be any sort of blocker. Thoughts? |
So as I read through this, it sounds as though we may see the duplicate IDs maybe 2-3/mo on average. In that case, it's difficult to rationalize a recommendation to move this forward due to the broken link risk. Essentially, the tldr here is that to address those 2-3/mo duplicate IDs, we can either (a) quickly put a fix into that will likely increase non-reportable bad UX or (b) can spend a person-sprint (assumption based on unknowns until digging) on this work. I'm going to recommend to Erika that we create two tickets to address: (1) stripping out ID in rich text and (2) reporting on broken anchor links - with #1 being dependent on #2 so we're not moving forward in the dark. |
Talked with @EWashb and we are going to go forward with removing IDs from ckeditor |
Description
Editors often copy/paste text or manually specify IDs in rich text editors which lead to issues like duplicate IDs occurring on a page - this is an accessibility error. Removing the ability for editors to add these IDs in Drupal 10/CKeditor 5 would greatly reduce the number of accessibility issues that editors are creating within their content.
However, this was originally done for a specific reason, to solve a specific need, therefore we need to confirm if this need is no longer valid and therefore we are able to remove this functionality.
Notes
Acceptance Criteria
The text was updated successfully, but these errors were encountered: