| Milestone 1a finding ID | M1a-018 |
|---|---|
| Backlog priority | High |
| Severity — carried from Milestone 1a | Serious |
| Implementation effort | Medium |
| Target milestone(s) | MS3b — Backend Template Build |
| WCAG 2.2 success criterion | 2.4.3 Focus Order |
| Responsibility tag(s) from report | Development |
| Affected Joomla area/component | Backend article editor — dialogs opened from the CMS Content menu — Milestone 1a finding #18 |
| Affected user journey(s) | 09 — Backend Edit Form Pattern |
Dismissing a dialog opened from the editor's CMS Content menu can leave keyboard focus lost or reset to the beginning of the page.
The menu item that opened the dialog is no longer visible once the menu has closed. When the user cancels or dismisses the dialog without inserting content, focus should therefore return to the visible CMS Content button rather than to the hidden menu item.
Successful insertion is a separate workflow. Returning focus to the editing area and its text caret after inserting content can be appropriate and is not the cancellation failure described here.
A keyboard user who cancels an insertion dialog loses their place in the editing interface. Instead of continuing from CMS Content, they may need to navigate through the page again to return to the editor or reopen the menu.
For a screen reader user, the missing return point can make it difficult to understand where the interaction has ended. They must locate the editor or its toolbar again before continuing.
This is particularly disruptive when a user opens the wrong dialog, checks the available content and decides not to insert it, or needs to try a different CMS Content option.
Restore focus to the visible CMS Content button when one of its dialogs is dismissed without completing an insertion
/administrator/6.2
When a CMS Content dialog is cancelled or dismissed without inserting content, keyboard focus returns to the visible CMS Content button.
Users can reopen the menu or continue navigating from that point without restarting from the beginning of the page.
After successful insertion, focus returns to a logical editing location, such as the text caret, so that the user can continue working.
The audit reports that closing a CMS Content dialog can lose focus and reset navigation to the beginning of the page.
The issue discussion confirms the problem when cancelling a dialog and distinguishes it from successful insertion, where returning to the text caret can be appropriate.
Desktop web
Chrome, Firefox, Edge, Safari
N/A
The browser entries above are carried forward from the original issue and do not represent a new verification of every browser against Joomla 6.2.
The supplementary screen reader test is a proposed verification step, not a claim that a particular screen reader combination was tested in the original issue.
The original report contains no screenshot for this finding.
The exact CMS Content options available depend on the editor configuration, enabled plugins, and account permissions. Record the menu option and dialog title for each result.
The report identifies the CMS Content button as the return target because the individual menu item that opened the dialog is hidden after dismissal.
MS3b is proposed for the documented backend editor integration. Add a shared-component milestone only if investigation establishes that the underlying fix belongs to a shared dialog component.
| Labels |
Added:
a11y
a11y-audit-backlog
a11y-priority-serious (High)
|
||
| Labels |
Added:
No Code Attached Yet
|
||
| Title |
|
||||||
Good question. I think from a usability perspective, it would make sense to place focus on the carat, but I wonder about cases when users want to insert multiple components using the CMS dropdown. I think that's a decision for you to make depending on how many instances you've heard of where users are inserting multiple items from the CMS dropdown.
Irrespective of that, the loss of focus upon closure of the dialog without completion is the true accessibility issue here, so I'm glad you can confirm it functions the same for you.
| Labels |
Added:
Design-System
|
||
I can confirm when canceling the dialog that the focus is lost but when completing eg inserting a menu link or module it returns to the carat in the content which surely is the correct and expected behaviour and not returning the focus to the insert menu link button?