Custom pointers in @dhis2/ui #241
Replies: 3 comments 1 reply
-
|
I'll add these:
|
Beta Was this translation helpful? Give feedback.
-
We should be careful to not create a user expectation that everything that is interactive has the
|
Beta Was this translation helpful? Give feedback.
-
|
I believe there are three realistic approaches to choose from:
Evaluating each approach1. Apply strict platform standardsPros
Cons
2. Use
|
| Platform | Cursor on <checkbox> hover |
|---|---|
| Microsoft 365 | pointer |
| Material Design | pointer |
| Jira | auto |
| USWDS | pointer |
| GOVUK | pointer |
| Github | auto |
| Bootstrap | auto |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In this PR we were talking about whether or not a checkbox should have
cursor: pointerset. My thought was to just stick to the browser defaults (only use a pointer for links), but @KaiVandivier mentioned that the pointer cursor is often used to indicate that clicking something will trigger an action, which makes sense as well.I took a quick look, and found a couple of articles arguing for and against setting a custom pointer:
I haven't really taken a proper look at this yet (plus there are a lot more articles than just the three above of course), but if we have the time, it would probably be good to decide on which convention we want to follow, so that it's consistent throughout our platform.
Beta Was this translation helpful? Give feedback.
All reactions