Skip to content

Issue 1135: More changes for accessibility#2004

Open
labkey-susanh wants to merge 45 commits into
developfrom
fb_moreAccessibility
Open

Issue 1135: More changes for accessibility#2004
labkey-susanh wants to merge 45 commits into
developfrom
fb_moreAccessibility

Conversation

@labkey-susanh
Copy link
Copy Markdown
Contributor

@labkey-susanh labkey-susanh commented May 20, 2026

Rationale

Issue 1135: Additional accessibility improvements mostly for field labels with a few tabIndex adjustments and elements becoming buttons.

Related Pull Requests

Changes

  • Auto-link to study input field labels
  • Remove tabIndex value from DomainRow
  • Add labels for text choice input fields
  • Use button instead of i for expandable container chevrons
  • Update LabelOverlay and DetailEditor with ids for labeling elements
  • Add labelId getter method in QueryColumn

@labkey-susanh labkey-susanh marked this pull request as ready for review May 22, 2026 19:26
@labkey-susanh labkey-susanh requested a review from cnathe May 22, 2026 19:26

if (!showLabel) {
return null;
}
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.

minor: looks like the <FieldLabel> component does this in its render() method. Was this needed for another reason?

return (
<FormsyTextArea
id={queryColumn.fieldKey}
aria-label={showLabel ? undefined : queryColumn.caption}
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.

minor: this is probably sufficient for aria-label but the renderLabel uses conditional logic to either use the label prop or the query column. Do we need that here?


if (!showLabel) {
return null;
}
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.

minor: same comment here about FieldLabel already doing this

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