Title: Label select
Last modified: September 13, 2024

---

# Label select

 *  Resolved [detroitwidget](https://wordpress.org/support/users/detroitwidget/)
 * (@detroitwidget)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/label-select/)
 * Hi Folks,
 * I noticed the following WS Form CSS applied to labels:
 *     ```wp-block-code
       label.wsf-label {display: block;font-family: inherit;font-size: 18px;font-weight: inherit;line-height: 1.4;margin-bottom: 5px;user-select: none;}
       ```
   
 * What is the logic behind “user-select: none”?
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mark Westguard](https://wordpress.org/support/users/westguard/)
 * (@westguard)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/label-select/#post-18014044)
 * You can learn more about that CSS property here:
 * [https://developer.mozilla.org/en-US/docs/Web/CSS/user-select](https://developer.mozilla.org/en-US/docs/Web/CSS/user-select)
 * For elements like checkboxes, when a user clicks the label, it should also check
   the checkbox. However, sometimes the label itself might accidentally get selected,
   which is undesirable. The `user-select: none` prevents this by disabling text
   selection, while still allowing the label to be clicked for accessibility purposes.
 * If you’d prefer the label to be selectable, you can override this with your own
   custom CSS.
 *  Thread Starter [detroitwidget](https://wordpress.org/support/users/detroitwidget/)
 * (@detroitwidget)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/label-select/#post-18015007)
 * Understood. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Label select’ is closed to new replies.

 * ![](https://ps.w.org/ws-form/assets/icon-256x256.jpg?rev=2834651)
 * [WS Form LITE - Drag & Drop Contact Form Builder](https://wordpress.org/plugins/ws-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ws-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ws-form/)
 * [Active Topics](https://wordpress.org/support/plugin/ws-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ws-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ws-form/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [detroitwidget](https://wordpress.org/support/users/detroitwidget/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/label-select/#post-18015007)
 * Status: resolved