Skip to content

[Studio] fix: localize status badge accessible names - #627

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-626
Jul 28, 2026
Merged

[Studio] fix: localize status badge accessible names#627
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-626

Conversation

@yx9o

@yx9o yx9o commented Jul 26, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fixes #626 .

Ensure StatusBadge accessible names follow the selected language instead of including a hardcoded Chinese prefix.

Brief changelog

  • Use the translated status label directly as the aria-label.
  • Preserve the existing status semantics and visible rendering.
  • Add an English-mode accessibility regression test.

@lizhimins
lizhimins force-pushed the rocketmq-studio branch 5 times, most recently from b1f151b to 434c2ea Compare July 28, 2026 11:40
@lizhimins
lizhimins merged commit d1b5043 into apache:rocketmq-studio Jul 28, 2026
3 checks passed
@yx9o
yx9o deleted the dev-626 branch July 28, 2026 15:30
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