Making WordPress.org

Opened 2 years ago

Closed 4 days ago

#7746 closed defect (bug) (worksforme)

Need to fix contribute page checkbox design issue

Reported by: divyeshk71 Owned by:
Priority: normal Milestone:
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

Hello Team

I’ve noticed a design issue in the Contribute form where the checkmark inside the checkbox isn’t clearly visible. This could impact user experience, and I believe we can improve it for better clarity. Please see the attached screenshot for reference.

​https://nimb.ws/19O2Dkv

Thanks.

Attachments (1)

screenshot-make.wordpress.org-2024.08.11-19_03_27.png​ (35.6 KB ) - added by dd32 2 years ago.
screenshot from OP.

Download all attachments as: .zip

Change History (8)

#1 @dd32
2 years ago

  • Component General → Make (Get Involved) / P2

Affected URL: ​https://make.wordpress.org/contribute/ (The Contributor orientation wizard thing)

Looks like it's a Gutenberg style issue, as the styles used on that checkbox are entirely from the checkbox control.

See the source on GitHub for the block: ​https://github.com/WordPress/wporg-contributor-orientation where you'll also find screenshots of what it should look like (and previously did)

#2 @divyeshk71
2 years ago

Hello @dd32

What will be the next step? Should i pull the code for this page and fix this issue?

Let me know.Thanks

#3 @enrico.sorcinelli
2 years ago

I noticed the same problem. This rule:

span.components-checkbox-control__input-container {
   height: var(--checkbox-input-size);
}

seems to fix both on desktop and mobile.

But I wouldn't be too sure about adding it in the plugin as perhaps it's better to understand and fix it in Gutenberg.

This ticket was mentioned in ​Slack in #design by divyeshk71. ​View the logs.


2 years ago

#5 @Joen
2 years ago

Good ticket. Seems like there's a quick win in just aligning the checkmark correctly.

Longer term, I'd expect these pages to migrate to the new componentry, which in this case could mean this checkbox:
​https://www.figma.com/design/e4tLacmlPuZV47l7901FEs/WordPress-Design-Library?node-id=28524-24057&t=KC4vx7vEeeoSG0Fu-1

This ticket was mentioned in ​Slack in #design by divyeshk71. ​View the logs.


2 years ago

#7 @obenland
4 days ago

  • Resolution → worksforme
  • Status new → closed

I can't reproduce this with the current styles on ​https://make.wordpress.org/contribute/. The checkbox and its container are now a 16px square at every screen width (Gutenberg's checkbox control changed in ​https://github.com/WordPress/gutenberg/pull/83612), and the checkmark is centered inside it.

Closing as worksforme. If the checkmark still looks misaligned, please reopen with a screenshot and your browser and screen width.

Note: See TracTickets for help on using tickets.