w3c / w3c/csswg-drafts

[css-ui-3] Clarifying if `cursor:pointer` is *exclusively* only for links

Open
#7,772 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-ui-3
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

In recent discussions, people point to https://drafts.csswg.org/css-ui-3/#cursor (or the equivalent in older CSS specs) as evidence that cursor: pointer should only ever be used for links (in the context of opinionated articles such as https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b)

pointer
The cursor is a pointer that indicates a link.

It would be good to clarify if this is meant to mean it should only ever be used for links only (which I seriously doubt is the intention), or if that is given more as an example, e.g. "The cursor is a pointer that generally indicates a link. Often rendered as a hand with a pointing finger." just to soften the language and make clear that it's not making some sort of normative statement implying that it should never be used for other things / to give a more generic "this is clickable" visual hint (whether it's good/necessary or not is an argument left to the reader)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS UI Level 3 cursor section at the linked draft and review the definition of pointer in context. Check whether the wording is intended as an exclusive requirement or an example of common usage. Done means the specification's intent is clarified without leaving the question of permitted uses ambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.