Skip to content

fix(a11y): name dataset editor text fields - #46591

Open
dmunozv04 wants to merge 1 commit into
apache:masterfrom
dmunozv04:fix-dataset-field-accessible-names
Open

dmunozv04 wants to merge 1 commit into
apache:masterfrom
dmunozv04:fix-dataset-field-accessible-names

Conversation

@dmunozv04

Copy link
Copy Markdown
Contributor

SUMMARY

Dataset editor textboxes wrapped by Field exposed [object Object] as their accessible name.

This PR passes the translated field label to TextControl through its existing ariaLabel prop and preserves any explicit override.
It also adds a regression test that checks the accessible name for the Default URL field.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE: textbox aria-label is [object Object]
before

AFTER: textbox aria-label has it's own name
after

TESTING INSTRUCTIONS

  1. Edit a dataset, open a tab like Settings
  2. Inspect a text field like Default URL in Chrome DevTools → Elements → Accessibility.
  3. Verify that each textbox name matches its visible label.
  4. Confirm for all other textboxes

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codeant-ai-for-open-source

codeant-ai-for-open-source Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: c40d845231f9

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.42%. Comparing base (7a46732) to head (c40d845).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #46591      +/-   ##
==========================================
- Coverage   86.42%   86.42%   -0.01%     
==========================================
  Files        3183     3184       +1     
  Lines      222605   222617      +12     
  Branches    52996    53005       +9     
==========================================
+ Hits       192377   192387      +10     
- Misses      26758    26760       +2     
  Partials     3470     3470              
Flag Coverage Δ
javascript 83.41% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dmunozv04
dmunozv04 force-pushed the fix-dataset-field-accessible-names branch from d69bcdb to c40d845 Compare November 29, 2026 14:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant