-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
v5: Add cursor util #30563
v5: Add cursor util #30563
Conversation
Gonna stick with my opinion in #23709 (comment). A lot of people want this, but no one seems to be able to define a use case for the I'm afraid developers will just abuse this utility and add this class to elements which aren't focusable with keyboard navigation. |
Good point, just commented again on that issue. |
I agree with @MartijnCuppens here. Cursors are usually good natively, and a very precious indicator of browser and OS interaction layer. With these utilities, it'd be too easy to mess things up. If something is wrong with our cursors, those styles should belong to reboot. Pointer events and user-select can be really helpful since they affect behaviour, but cursors can be really misleading. |
Coming back to this after shipping the interactions and |
Replaced by #31040. |
* v5: Add role=button cursor in Reboot Ports the changes from #30562 made in v4.5 and adds them to v5. This replaces #30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility. * Update reboot.md Co-authored-by: XhmikosR <xhmikosr@gmail.com>
* v5: Add role=button cursor in Reboot Ports the changes from twbs#30562 made in v4.5 and adds them to v5. This replaces twbs#30563 which sought to add this to the utility API, but the v4 PR shifted to implement an accessible solution vs a lone utility. * Update reboot.md Co-authored-by: XhmikosR <xhmikosr@gmail.com>
v5 version of #30562. Fixes #23709.