Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: cursor: pointer on <label for=""> #3642

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felix-d1strict
Copy link

Makes use of “cursor: pointer”, when a label is bound to a form element.

This is a ** improvement**.

Labels, wich are bound like <label for="formElement">Your Label</label> should have a pointer as a cursor, as long they are clickable.

Proposed solution

The solution: just add cursor: pointer;, when there is a for="" attribute.

Tradeoffs

There shouldn't be any tradeoffs, in my opinion.

Testing Done

None.

Yes, on hover it displays me the pointer-cursor.

screen-capture.webm

Changelog updated?

No.

Makes use of “cursor: pointer”, when a label is bound to a form element.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant