Skip to content

fix(a11y): name the semantic view description input - #46458

Merged
mikebridge merged 1 commit into
apache:masterfrom
mikebridge:fix-semantic-view-description-label
Nov 23, 2026
Merged

mikebridge merged 1 commit into
apache:masterfrom
mikebridge:fix-semantic-view-description-label

Conversation

@mikebridge

Copy link
Copy Markdown
Member

SUMMARY

The semantic view edit dialog shows a Description label, but the textarea has no accessible name. This gives the textarea the same translated name, so assistive technology and label-based interaction can identify it.

The fix is local to the modal; the shared form-field component and save behavior are unchanged.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

No visual layout change. Before, the textarea had no accessible name; after, its name is Description.

TESTING INSTRUCTIONS

  • Added an accessible-name regression test that failed before the fix.
  • All 18 SemanticViewEditModal Jest tests pass; changed-file hooks pass.
  • The full frontend type check has a pre-existing failure in an unrelated Partition test.
  • Open a semantic view's edit dialog and verify that the Description textarea can be located by its accessible name and edited.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags: SEMANTIC_LAYERS
  • 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

@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.92%. Comparing base (5ef84de) to head (70d8aec).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #46458   +/-   ##
=======================================
  Coverage   85.92%   85.92%           
=======================================
  Files        3122     3122           
  Lines      216903   216903           
  Branches    51423    51423           
=======================================
+ Hits       186380   186383    +3     
+ Misses      27106    27103    -3     
  Partials     3417     3417           
Flag Coverage Δ
javascript 82.76% <ø> (+<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.

@mikebridge
mikebridge marked this pull request as ready for review November 23, 2026 01:43
@codeant-ai-for-open-source

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: 70d8aec17fd8

@aminghadersohi aminghadersohi left a comment

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.

The Description textarea now carries its visible label as its accessible name, and the new test pins it.

Nit: Outside the diff: the Cache timeout InputNumber (line 230) still has no accessible name; add aria-label={t('Cache timeout')}.

@mikebridge

Copy link
Copy Markdown
Member Author

Thanks @aminghadersohi. Good catch: the Cache timeout field in the same modal still has no accessible name. I'll add aria-label={t('Cache timeout')} with a test in a small follow-up after this merges, so the approved change stays as reviewed.

@mikebridge
mikebridge merged commit 91a5235 into apache:master Nov 23, 2026
137 checks passed
jprinet added a commit to jprinet/superset that referenced this pull request Nov 23, 2026
* origin/master: (393 commits)
  fix(a11y): name the semantic view description input (apache#46458)
  docs(semantic): explain datasource list modification eligibility (apache#46462)
  docs(semantic-layer): document NULL-preserving exclusion filters (apache#46447)
  fix(uploads): skip folder and system entries in columnar ZIP uploads (apache#45617)
  fix(i18n-es): promote 47 of the zero-context backfill entries (apache#45847)
  fix(mcp): return structured ChartError on SQLAlchemyError in get_chart_sql (apache#44351)
  fix(datasets): follow semantic view modification permissions (apache#46448)
  fix(docker): account for container memory limits in frontend-mem-nag.sh (apache#46373)
  fix(reports): carry the report's native filters in the email and Slack link (apache#46062)
  fix(explore): apply the dataset timezone to grained temporal filter values (apache#46175)
  fix(i18n): enforce the do-not-translate registry across the catalogs (apache#45974)
  chore(logging): log unparseable virtual dataset SQL at debug in the RLS lookup (apache#46139)
  fix(i18n): split parameter-suggestion plural into two messages (apache#46049)
  test(partition-mapping): cover Hive/Impala mirrored SQL, cache outage and migration (apache#46319)
  perf(dashboard): look up the dashboard once per filter_state read (apache#46314)
  fix(i18n): load the dayjs locale for every language with a catalog (apache#45982)
  test(semantic-layer): make date export parametrization deterministic (apache#46449)
  fix(oauth2): idempotent OAuth2 completion and resilient listener (apache#40292)
  fix(explore): prevent full table scan when SQL expression is used as x-axis (apache#41339)
  feat(mcp): radar chart type plugin (apache#43571)
  ...

# Conflicts:
#	.github/workflows/docker.yml
#	.github/workflows/superset-frontend.yml
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.

2 participants