zhaohai666 opened a new pull request, #663:
URL: https://github.com/apache/rocketmq-dashboard/pull/663

   ## Summary
   
   Improve StatusBadge accessibility by adding a semantic prefix to the
   aria-label attribute.
   
   Before: `aria-label={label}` (e.g. "在线")
   After: `aria-label={`状态:${label}`}` (e.g. "状态:在线")
   
   This helps screen reader users understand the widget's purpose before
   hearing the status value, aligning with WCAG 2.1 guidelines for
   informative status indicators.
   
   ## Test plan
   
   - [ ] Inspect StatusBadge element: aria-label should start with "状态:"
   - [ ] Screen reader should announce "状态:在线" instead of just "在线"


-- 
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