#108288The heading hierarchy in the create folder modal in filelist is incorrect.
Description
In the “Create new folder” dialog, the main heading is marked as H1. Immediately below, the entry “Fileadmin/(auto-created)…” is marked as H4. This skips levels and violates the expected, programmatically discernible hierarchy.
Per WCAG, the number of headings at the same level is not limited; multiple H4s under an H3 are allowed if the hierarchy is consistent and semantically correct. Here, the heading structure must be adjusted so no levels are skipped (e.g., H1 → H2 → H3 …).
The goal is a semantically correct structure that works well with assistive technologies, without changing the visual appearance.
Current issue: H1 “Create new folder” followed by H4 “Fileadmin/(auto-created)…”.
Expected: No H4 right after an H1; use H2 (or H3) instead, depending on the logical structure.
Multiple same-level headings are allowed if properly nested in the hierarchy.
Optionally recommended structure in the modal:
H1: Dialog title (or—if the backend already provides a page-level H1—start with H2 in the modal)
H2: Section heading (e.g., “Location” / “Storage”)
H3/H4: Sub-items within that section (e.g., “fileadmin/(auto-created)…”)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] The heading hierarchy in the create folder modal in filelist is incorrect. Resolves: #108288 Releases: main
Related issues 1
History 4
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2026-02-06T14:05:23+00:00" > 02/06/26, 14:05 </span> -
Asmaa Hashem commented <span data-processor="relativetime" data-value="2026-04-14T09:41:04+00:00" > 04/14/26, 09:41 </span>
@just2b
Hi Georg Thanks for the hint regarding the related use cases using.
The issue here is not the styling or the CSS classes, but the semantic use of the heading level itself. From a WCAG and assistive technology perspective, we need a consistent, non-skipping heading hierarchy. In the current dialog, we have an H1 (“Create new folder”) followed directly by an H4 (“fileadmin/(auto-created)…”) – this skips levels and breaks the expected structure for screen reader users.
If the samepattern is reused in multiple places, those locations should also be reviewed. Ideally, we would keep the same visual styling (e.g. via the existing text-truncate mb-4 classes), but change the actual heading level to match the logical hierarchy, for example to
or
as appropriate.
In short: we should preserve the visual appearance but adjust the heading levels so there are no jumps like H1 → H4 and the structure is semantically correct.
Could you please update the ticket status accordingly :)
-
Georg Ringer changed Related to #108824 <span data-processor="relativetime" data-value="2026-10-31T13:44:31+00:00" > 10/31/26, 13:44 </span>
related usecases can be found by
<h4 class="text-truncate mb-4">