Loyal-Young opened a new issue, #6907:
URL: https://github.com/apache/rocketmq-dashboard/issues/6907
### Before Creating the Bug Report
- [x] Searched open issues and pull requests for keyboard access to
collapsed TagList values.
- [x] Inspected the current `rocketmq-studio` implementation and added a
focused interaction regression.
### Studio Version
`rocketmq-studio` at `a92c23144408cdf5729707050e9ecd9b75f1bad0`.
### Runtime Environment
Any page using `TagList` with `max` smaller than the number of labels,
including Grafana dashboards and other compact tag columns. Reproduced with the
component test in jsdom.
### Describe the Bug
`TagList` hides excess labels behind a `+N` tag. The hidden labels live only
in an Ant Design Tooltip attached to a non-focusable Tag. Mouse hover opens the
tooltip, but keyboard users cannot tab to the `+N` tag or discover the labels.
The collapsed value has no accessible label describing the hidden items.
### Steps to Reproduce
1. Render a three-item `TagList` with `max={1}`.
2. Navigate through the page with Tab and Shift+Tab, without a pointing
device.
3. The `+2` element cannot receive focus, so the hidden Email and SMS labels
cannot be inspected through the tooltip.
### What Did You Expect to See?
The collapsed tag should be reachable by keyboard and expose the hidden
labels on focus, with an accessible name containing those labels.
### What Did You See Instead?
Only pointer hover reveals the hidden labels.
### Additional Context
The proposed change preserves mouse hover behavior and adds a keyboard-focus
regression. It does not change how many tags are visible or how the labels are
truncated.
### Are You Willing to Submit a Pull Request?
- [x] Yes.
--
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]