Cursor Pointer Display in Label Elements Across the Site.

Created on 6 February 2024, 10 months ago
Updated 8 February 2024, 10 months ago

Problem/Motivation

Cursor Pointer Display in Label Elements Across the Site.

Steps to reproduce

1. Use Claro as administration theme
2. GO to admin/structure/block
3. Configure block any block.
4. Hover on label you will find cursor pointer icon.

For reference:

Proposed resolution

Remove Cursor Pointer

๐Ÿ› Bug report
Status

Closed: works as designed

Version

11.0 ๐Ÿ”ฅ

Component
CSSย  โ†’

Last updated about 12 hours ago

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia djsagar

Live updates comments and jobs are added and updated live.
  • Needs frontend framework manager review

    Used to alert the fron-tend framework manager core committer(s) that a front-end focused issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.

Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @djsagar
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia TanujJain-TJ

    Tanuj. โ†’ made their first commit to this issueโ€™s fork.

  • Status changed to Needs review 10 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia TanujJain-TJ

    Removed cursor pointer for form label, it was not related to only blocks but this was throughout Drupal in editing node form or having exposed form in views. created a MR for this please review.

  • Pipeline finished with Failed
    10 months ago
    Total: 551s
    #89073
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia djsagar

    Yes @tanuj you are right

  • Status changed to Needs work 10 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Seems to have a test failure.

    But not 100% sure this is a bug when I hover over a label yes I see the pointer but when I click it focus goes to the text box, or checks a box.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States pcate

    do not display a cursor pointer when a checkbox toggle is not present, aligning with Drupal coding standards

    @djsagar, can you provide a link to the Drupal coding standards where this is stated?

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia djsagar

    @PCate, Hovering over labels displays the pointer cursor, while clicking focuses on text boxes or checks boxes. However, the pointer cursor should be limited to specific label elements, rather than being displayed universally across the site.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States pcate

    Hovering over labels displays the pointer cursor, while clicking focuses on text boxes or checks boxes.

    It is common for form labels to be styled to display a pointer cursor when hovering over them to give a visual indicator that the labels are interactive. Form labels with a for attribute should be interactive.

    However, the pointer cursor should be limited to specific label elements, rather than being displayed universally across the site

    What is the criteria for whether a label should use the pointer cursor? Is this documented somewhere?

    Right now Claro is showing the pointer cursor for elements with the .form-item__label class and a for attribute. Are you seeing this class and attribute being added to non-label form elements?

    I'm seeing the same CSS for form labels is in the core Olivero theme as well.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia djsagar

    @PCate,

    Thank you for the knowledge transfer.
    I have also verified this issue with the core Olivero theme. Therefore, we can proceed to close this issue.

  • Status changed to Closed: works as designed 10 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave
Production build 0.71.5 2024