Skip to content

[stable8] fix(NcProgressBar): properly assign attributes - #8860

Draft
backportbot[bot] wants to merge 1 commit into
stable8from
backport/8851/stable8
Draft

backportbot[bot] wants to merge 1 commit into
stable8from
backport/8851/stable8

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 21, 2026

Copy link
Copy Markdown

Backport of #8851

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(NcProgressBar): properly assign attributes

Logically passing attributes like `aria-label` or `aria-describedby` to

give information about the progress are expected to label the `progress`

component and not a wrapper with `role = representation`.

So this forwards the attributes to the actual progress element.

But special attributes like `class` or `style` are expected to only

affect the outer wrapper "public api" of the component.

AI: AI was used for unit test generation but afterwards reviewed by me.

Assisted-by: ClaudeCode:claude-opus-5

Co-authored-by: Peter R. <peter.ringelmann@nextcloud.com>

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

[skip ci]
@backportbot
backportbot Bot requested review from ShGKme, pringelmann and susnux August 21, 2026 13:37
@backportbot backportbot Bot added bug Something isn't working 3. to review Waiting for reviews labels Aug 21, 2026
@backportbot backportbot Bot added this to the 8.40.1 milestone Aug 21, 2026
@susnux susnux modified the milestones: 8.41.0, 8.42.0 Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant