Skip to content

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

Open
susnux wants to merge 1 commit intostable32from
fix/settings-sections-32
Open

[stable32] fix(settings): do not show admin section container if empty#59428
susnux wants to merge 1 commit intostable32from
fix/settings-sections-32

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented Apr 3, 2026

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

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 34 milestone Apr 3, 2026
@susnux susnux added the bug label Apr 3, 2026
@susnux susnux requested a review from a team as a code owner April 3, 2026 15:44
@susnux susnux requested review from Altahrim, artonge, leftybournes and provokateurin and removed request for a team April 3, 2026 15:44
@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Apr 3, 2026

/backport to stable33

@github-actions github-actions bot changed the title fix(settings): do not show admin section container if empty [stable32] fix(settings): do not show admin section container if empty Apr 3, 2026
- 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>
@susnux susnux force-pushed the fix/settings-sections-32 branch from cd44cfd to d783cab Compare April 3, 2026 17:23
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.

1 participant