Skip to content

[stable32] fix(systemtags): only render inline list of tags if there are some#59487

Draft
backportbot[bot] wants to merge 1 commit intostable32from
backport/59424/stable32
Draft

[stable32] fix(systemtags): only render inline list of tags if there are some#59487
backportbot[bot] wants to merge 1 commit intostable32from
backport/59424/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Apr 7, 2026

Backport of #59424

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

fix(systemtags): only render inline list of tags if there are some

- resolves #59332

If there are no tags available, then we cannot render an `<ul>` element

as this would result in invalid HTML / invalid accessibility state.

Ref: https://www.w3.org/TR/wai-aria-1.2/#mustContain

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
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