jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Twenty Twenty-Two: Form block button uses browser border styles

Open mikeicode opened this issue 2 years ago • 1 comments

Quick summary

The button within the Form block shouldn't have a border. On the front-end it shows a border, which appears to be the default browser border styles.

Steps to reproduce

  1. Add a default Form block to a page
  2. Compare button in editor and published page

What you expected to happen

Shouldn't have a visible border:

Screen Shot on 2022-06-27 at 11:34:49

What actually happened

Firefox: Screen Shot on 2022-06-27 at 11:35:18

Chrome:

Screen Shot on 2022-06-27 at 11:35:41

Context

Discovered this while building a site pdEkSe-Cm-p2

Simple, Atomic or both?

Simple, Atomic

Theme-specific issue?

Twenty Twenty-Two

Browser, operating system and other notes

Firefox: 101.0.1 Chrome: 101.0.4951.54

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

No response

Workaround details

Could edit with CSS.

.wp-block-jetpack-contact-form .wp-block-button__link {
  border: unset;
}

mikeicode avatar Jun 27 '22 15:06 mikeicode

📌 SCRUBBING

  • Tested on Simple ✅
  • Tested on AT ✅
  • Tested on Self-hosted ✅
  • Replicable on Core - Yes

📌 FINDINGS/SCREENSHOTS/VIDEO

I was able to replicate this.

Simple site on Firefox:

imagen

Simple site on Chrome:

imagen

I also tested this in Safari, Opera, and Edge and got the same result as above. And happens the same with AT sites and self-hosted as well with Twenty Twenty-Two theme.

The CSS workaround provided also works!


📌 ACTIONS

  • Marked as Triaged for Quality Squad review

renata-franco avatar Jul 07 '22 14:07 renata-franco