Skip to content

feat: reset layer gives every clickable control a pointer cursor (and not-allowed when disabled) #549

Closed

Description

@mvilacad

Atlas app shipped clickable tiles (role=button, summary, label[for]) showing the arrow cursor. The lib reset (reset.css, @layer ca.reset) only has font: inherit; cursor: pointer is hand-written per component, so any new clickable element is wrong by default.

Plan: @layer ca.reset rule: pointer for button:not(:disabled), [role=button|tab|option|menuitem*|switch|checkbox|radio|link] (not aria-disabled), summary, label[for], a[href]; not-allowed for disabled / aria-disabled. App CSS (unlayered) wins freely. Dev check (devWarn) for click handler on a non-interactive element with cursor:auto: judged for noise before shipping.

Activity

  1. added
    enhancementNew feature or request
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 25, 2026
  2. self-assigned this
    on Oct 25, 2026
  3. mvilacad commented on Oct 25, 2026

    @mvilacad
    ContributorAuthor

    Working on this in #552 (draft). Branch feat/549-feat-reset-layer-gives-every-clickable. Regression test first, then the fix.

  4. removed
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions