Skip to content

Accessibility improvements: add missing labels for input fields#2970

Merged
labkey-susanh merged 9 commits intodevelopfrom
fb_inputLabels
May 1, 2026
Merged

Accessibility improvements: add missing labels for input fields#2970
labkey-susanh merged 9 commits intodevelopfrom
fb_inputLabels

Conversation

@labkey-susanh
Copy link
Copy Markdown
Contributor

@labkey-susanh labkey-susanh commented Apr 29, 2026

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

  • Update locators to account for label changes
  • Add EntityBulkDialog component with specialized methods for the Amounts and Units row with two input fields.

return elementCache().formRowByControlLabel(fieldLabel);
}

public Pair<String, String> getAmountUnit()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

those changes both sound good. It was previously returning a Pair so I just left that part but agree it is odd.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated the name, but left it as a pair for now.

Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
Comment thread src/org/labkey/test/components/ui/entities/EntityBulkDialog.java Outdated
@labkey-susanh labkey-susanh requested a review from cnathe May 1, 2026 00:14
@labkey-susanh labkey-susanh merged commit a835fca into develop May 1, 2026
10 checks passed
@labkey-susanh labkey-susanh deleted the fb_inputLabels branch May 1, 2026 14:23
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