yx9o opened a new issue, #626:
URL: https://github.com/apache/rocketmq-dashboard/issues/626

   ## Problem
   
   `StatusBadge` always prefixes its `aria-label` with the Chinese text `状态:`.
   
   When the interface language is English, the visible text is `Healthy`, but 
the accessible name is `状态:Healthy`. This causes screen readers to announce a 
mixed-language label that does not match the selected language.
   
   ## Expected behavior
   
   - Use the translated or custom status label as the accessible name.
   - Announce `Healthy` instead of `状态:Healthy` in English mode.
   - Preserve the existing status role, indicator, and visible text.
   
   ## Proposed fix
   
   Use the computed status label directly as the `aria-label` and add an 
English-mode accessibility regression test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to