Accessibility: FieldSet and Legend component#6464
Conversation
|
[x] Code Reviewed General Test Remarks
Provider Specific Tests |
njannink
left a comment
There was a problem hiding this comment.
see comments in conversation
|
The latest refactoring moves semantic grouping support onto the existing The reason for this split is to avoid forcing native |
|
@njannink, please recheck the API and UI |
|
PS. I'm thinking of renaming the |
|
SemanticGroup says the same to me as Group. Maybe use (Is)FieldSet to really point at the underlying html that will be rendered? |
There was a problem hiding this comment.
- API Reviewed
- Documentation tested and reviewed
General Test Remarks
fieldset tag
Provider Specific Tests
- AntDesign
- Bootstrap
- Bootstrap Server
- Bootstrap5
- Bulma
- FluentUI2
legendtag not generated for radio group
- Material
- Tailwind



Closes #6441
This PR adds first-class support for semantic form grouping in Blazorise with new independent
FieldSetandLegendcomponents. They render nativefieldsetandlegendelements, have dedicated class provider methods across all supported providers, and integrate with existing accessibility options so grouped controls such asRadioGroupcan automatically use the parentLegendas their accessible label througharia-labelledby. The PR also adds demo and documentation examples showing the recommended pattern for radio groups and related checkbox sets, while keepingFieldandFieldLabelfocused on single-input scenarios.