fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Feature]: ProgressBar - Add native label and description support

Open spenoff opened this issue 7 months ago • 1 comments

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

The v9 ProgressBar does not natively support a label or description, unlike v8's ProgressIndicator which had built-in label and description props. Currently, consumers must wrap ProgressBar in a Field component and manually wire:

Title → Field.Label Description → Field.ValidationMessage This is cumbersome and error-prone, especially for accessibility - the correct aria-labelledby association must be manually constructed.

Proposed solution: Add optional label and description slots to ProgressBar, similar to how Field wraps Input. This would ensure:

Correct semantic HTML structure out of the box Automatic aria-labelledby / aria-describedby associations

Additional context

this was supported in v8

Have you discussed this feature with our team

No response

Validations

  • [x] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Low

spenoff avatar Apr 12 '26 05:04 spenoff

v9 uses the Field composition pattern (react-field) for labels and descriptions across all form-like controls — see packages/react-components/react-field/library/docs/Spec.md for the rationale. Wrap ProgressBar in <Field label="..." hint="...">. Closing as By Design.

tudorpopams avatar Apr 20 '26 15:04 tudorpopams