-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[React component Tile - Expandable] It's impossible to expand or collapse the tile by focusing the chevron and hitting space / enter #5557
Comments
Hi @xrissot-ibm! 👋 Thanks for making this issue! The tile can be opened and closed when the whole tile, not the chevron, is focused using enter or space. Since the information can still be accessed with a keyboard, I believe it is still accessible. We do not intend for the chevron to control open/close of the tile or receive focus. Let me know if this resolves this issue or if you have any other questions! |
Hi @abbeyhrt in that case why is the chevron focusable? If you can focus on a button, then the button must work. That's why we open this issue :) |
@xrissot-ibm Could you provide a sandbox recreating your problem? Out of the box, the chevron should not be receiving focus so that might be the issue here! |
@abbeyhrt I just made the test and it seems that the pb is only encountered with firefox on windows. |
@xrissot-ibm ah I see! You are completely right, the chevron is still receiving focus on some browsers. Thanks for bringing this to our attention! I will open a PR to address this soon! |
@abbeyhrt thanks ! |
It's impossible using the keyboard to expand or collapse the tile by focusing the chevron and hitting the space bar or the enter key
Environment
Windows 10
Chrome/FF
Detailed description
When selecting the chevron using the keyboard I can expand/collapse the tile. And the icon is also outlined on focus.
It's not working and the icon is not outlined on focus.
Steps to reproduce the issue
The text was updated successfully, but these errors were encountered: