Skip to content

[stable33] fix(settings): do not show admin section container if empty#59534

Merged
susnux merged 1 commit intostable33from
backport/59428/stable33
Apr 9, 2026
Merged

[stable33] fix(settings): do not show admin section container if empty#59534
susnux merged 1 commit intostable33from
backport/59428/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Apr 9, 2026

Backport of PR #59428

- fixes #59337

Already fixed for Nextcloud 34+ but here we need to fix the legacy
navigation as well.
The problem is that empty `<ul>` elements are not allowed,
lists always require at least one list item for accessibility.
Ref: https://www.w3.org/TR/wai-aria-1.2/#mustContain

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot backportbot bot added this to the Nextcloud 33.0.3 milestone Apr 9, 2026
@backportbot backportbot bot requested a review from a team as a code owner April 9, 2026 10:28
@backportbot backportbot bot requested review from Altahrim, ArtificialOwl and come-nc and removed request for a team April 9, 2026 10:28
@susnux susnux changed the title [stable33] [stable32] fix(settings): do not show admin section container if empty [stable33] fix(settings): do not show admin section container if empty Apr 9, 2026
@susnux susnux merged commit 3425395 into stable33 Apr 9, 2026
187 of 193 checks passed
@susnux susnux deleted the backport/59428/stable33 branch April 9, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants