-
Notifications
You must be signed in to change notification settings - Fork 293
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
Thank with Google "Manual" radio button should be a heading + subheading, not a button #5623
Comments
IB ✅ |
@tofumatt Just seeing this now. I tend to agree with your idea, however one could also argue that "Manual" is an option, which triggers three "sub options" to become relevant. I am not sure about the change here since it looks odd, even if it might also make sense. I'm not sure whether any consultation with UX happened in regards to this problem, but in cases like this, where we clearly diverge from the Figma design, we should generally make sure to do so. What do you think @aaemnnosttv @marrrmarrr? |
@felixarntz just seeing this now as well. "Manual" looks odd as a standalone, but it also looks odd as only a group of choices. I would suggest one of the following:
Looking at second option above, the Manual prefix is unnecessary and could simply be removed. |
@felixarntz Manual being an option that gets selected with sub-options could work, though with the space and as few options as we have, arguably too many extra clicks when selecting. Or it would auto-select the first one, which might cause users to skip over the "sub-option". Evan's proposed solution seems the best to me, and while there's a bit of visual/content repetition (the "manual" prefix each time), it's actually more accessible and I'd argue more usable. I say we go with the flat option proposed by Evan, since it's the easier from both a cognitive, UX, and development perspective. 👍🏻 |
I've filed #5683 as a follow-up issue to discuss the "flat" approach with UX and make the relevant changes. 👍🏻 |
Bug Description
In the Figma mocks for Thank with Google, there are two options for placement: "Auto" and "Manual". But really, manual itself isn't an option—it's a heading for three options ("Above the post", "Below the post" and "Below the 1st paragraph").
But "Manual" itself is not actually a choice—it must be one of the three options below it. Having "Manual" be a button is confusing visually and semantically, so instead it should be a heading, eg:
As a workaround we have set the button to
disabled
, but that isn't great semantically and still causes some visual oddness, especially on hover. It creates an expectation that this can sometimes be clicked and is a confusing UI to present to users. We should keep a clear distinction between interactive and non-interactive elements on the page, so we should change this "Manual" button to a heading/subheading that look the exact same save for missing the radio button.For context, see this PR comment: #5606 (comment)
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
assets/js/modules/thank-with-google/components/common/PositionRadio.js
:Radio
button with thebutton-placement-manual
id with ah5
tag that contains the translatedManual
string.assets/sass/components/thank-with-google/_googlesitekit-twg-position-radio.scss
:googlesitekit-twg-position-radio__option
class:h5
tag to make its style match with theAuto
label of the above Radio Button. Some helpful starting point:font-size: 0.875rem;
margin: 30px 0 10px 34px;
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: