Skip to content

Styling button cursor (default/pointer/not-allowed) #27

Closed

Description

@Jeffrey903

Please allow styling the permission button using the cursor property. In particular, allow setting cursor: pointer. Additionally, for invalid cases it would be nice to support cursor: not-allowed

I think supporting just default, pointer and not-allowed should be sufficient, and other cursor values can be ignored.

Activity

  1. andypaicu commented on Jun 25, 2024

    @andypaicu
    Collaborator

    default seems a bit sketchy to allow, maybe it can be used to obfuscate the element's role as a button in.
    But I can definitely see a use case for pointer and not-allowed with anything else being treated as pointer.

  2. andypaicu commented on Apr 23, 2025

    @andypaicu
    Collaborator

    Added pointer and not-allowed to the explainer (Chrome implementation WIP).

  3. DanielHerr commented on Oct 30, 2025

    @DanielHerr

    I have to object to mandating pointer. As per the spec, pointer indicates a link. PEPC buttons are certainly not links. So they absolutely should not enforce styling like a link.

    https://www.w3.org/TR/css-ui-3/#cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions