Skip to content

DRYD-2173: Accessibility > Administration: Add Users and Roles > Various Errors - #31

Merged
spirosdi merged 1 commit into
mainfrom
bugfix/dryd-2173
Oct 16, 2026
Merged

spirosdi merged 1 commit into
mainfrom
bugfix/dryd-2173

Conversation

@spirosdi

@spirosdi spirosdi commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What does this do?
It exports the existing labelToLegend helper from the package's helpers

Why are we doing this? (with JIRA link)
https://collectionspace.atlassian.net/browse/DRYD-2173. cspace-ui's PermissionsInput and RolesInput need to render their label as a fieldset legend to fix the orphaned form label errors on the Add Role and Add User pages. labelable already forwards the label to components flagged with useLegend, but the helper that turns it into a legend was not reachable from outside the package.

How should this be tested? Do these changes have associated tests?
Please link this package into cspace-ui and follow the manual steps: collectionspace/cspace-ui.js#381

Dependencies for merging? Releasing to production?
a dev release should be done after merging. The collectionspace/cspace-ui.js#381 depends on this.

Has the application documentation been updated for these changes?
not needed

Did someone actually run this code to verify it works?
@spirosdi ran it locally

@spirosdi
spirosdi merged commit ad6187e into main Oct 16, 2026
5 checks passed
@spirosdi
spirosdi deleted the bugfix/dryd-2173 branch October 16, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants