Accessibility improvements: add missing labels for input fields#2970
Merged
labkey-susanh merged 9 commits intodevelopfrom May 1, 2026
Merged
Accessibility improvements: add missing labels for input fields#2970labkey-susanh merged 9 commits intodevelopfrom
labkey-susanh merged 9 commits intodevelopfrom
Conversation
…uts (e.g., StoredAmount and Units)
… setters to use helpers in abstract EntityBulkDialog
labkey-susanh
commented
Apr 29, 2026
| return elementCache().formRowByControlLabel(fieldLabel); | ||
| } | ||
|
|
||
| public Pair<String, String> getAmountUnit() |
Contributor
Author
There was a problem hiding this comment.
Maybe getAmountAndUnitsReadOnlyValues or something to distinguish it from getAmountUnitValue.
This could also return a record instead of a pair for better readability, but not necessary.
Contributor
There was a problem hiding this comment.
those changes both sound good. It was previously returning a Pair so I just left that part but agree it is odd.
Contributor
Author
There was a problem hiding this comment.
Updated the name, but left it as a pair for now.
cnathe
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
For better accessibility of our input forms, we need to provided proper labels for each field and not label things that aren't input fields.
Related Pull Requests
Changes
EntityBulkDialogcomponent with specialized methods for the Amounts and Units row with two input fields.