Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Fieldset component #1081

Merged
merged 7 commits into from
Feb 19, 2024
Merged

feat: Add Fieldset component #1081

merged 7 commits into from
Feb 19, 2024

Conversation

alimpens
Copy link
Contributor

No description provided.

@github-actions github-actions bot temporarily deployed to demo-573-add-fieldset February 13, 2024 16:10 Destroyed
@alimpens alimpens changed the title feat: Add Fieldset feat: Add Fieldset component Feb 13, 2024
Copy link
Contributor

@dlnr dlnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, weird how the legend has always been a thing that wants to live in the middle of the fieldset line. And also that the legend is not actually required, just for a11y purposed it is recommended.

@alimpens
Copy link
Contributor Author

Looks good, weird how the legend has always been a thing that wants to live in the middle of the fieldset line. And also that the legend is not actually required, just for a11y purposed it is recommended.

Yeah, the default styling is a bit odd. I think it makes sense to require the legend in ADS, a fieldset without a legend is a bit pointless imo.

@github-actions github-actions bot temporarily deployed to demo-573-add-fieldset February 15, 2024 16:04 Destroyed
@github-actions github-actions bot temporarily deployed to demo-573-add-fieldset February 15, 2024 16:07 Destroyed
@dlnr
Copy link
Contributor

dlnr commented Feb 16, 2024

Looks good, weird how the legend has always been a thing that wants to live in the middle of the fieldset line. And also that the legend is not actually required, just for a11y purposed it is recommended.

Yeah, the default styling is a bit odd. I think it makes sense to require the legend in ADS, a fieldset without a legend is a bit pointless imo.

You're probably right, but.. you can pass a form attribute to the fieldset to connect it to a form outside of the form tag. Perhaps developer might need this in some odd sidecases. And they might not need a heading then.

@github-actions github-actions bot temporarily deployed to demo-573-add-fieldset February 19, 2024 22:36 Destroyed
@VincentSmedinga VincentSmedinga merged commit e9683c7 into develop Feb 19, 2024
4 checks passed
@VincentSmedinga VincentSmedinga deleted the feat/573-add-fieldset branch February 19, 2024 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants