#53202 closed enhancement (reported-upstream)
Twenty Twenty: Buttons Are Not Responsive on Mobile Devices
| Reported by: | deborah86 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 5.7.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | css |
Description (last modified by )
On mobile devices and tablets, the buttons are not responsive. They appear like they would on the desktop website. The buttons should be responsive so users have enough area to click on. They are too small on the mobile and tablet versions of the website.
This is what Google says about using buttons:
BE THUMB-FRIENDLY
People use their fingers to operate mobile devices—especially their thumbs. Design your site so even large hands can easily interact with it.
- Use large, centered buttons and give them breathing room to reduce accidental clicks.
- Pad smaller buttons to increase the clickable area.
- Pad check boxes by making the text clickable
https://services.google.com/fh/files/blogs/GoMo_Best%20Practices_GoMo%20Branded.pdf
This is how the page looks on desktop devices.
This is how the exact page looks on mobile

As you can see, the buttons are not responsive and do not take up the view so they can easily be clicked on by someone using the mobile device.
If you change the width settings, this only changes the width of how the buttons will appear on desktop and mobile devices but it does not make them responsive.
You can tell the buttons are not responsive because the size of the text within the buttons does not change.
Here is a link to the page where I did the test: http://t2.dhosting.network/buttons-not-responsive-on-mobile
Note: The images are from a desktop computer using the dev tools to change to the mobile view but I get the same result on my mobile device.
Attachments (5)
Change History (11)
@
6 years ago
If you change the width settings, this only changes the width of how the buttons will appear on desktop and mobile devices
#2
@
6 years ago
- Type defect (bug) → enhancement
Hi @deborah86! I uploaded your screenshots to the ticket so they would show here.
Google's GoMo initiative mentions padding smaller buttons to increase the clickable area, but these links are already larger than the minimum 44px by 44px recommended in both Apple's (mobile) UI tips and WCAG 2.1 guidelines for any screen size.
- For screens narrower than 700px wide, the link is 51.75 pixels tall with text at 15px.
- For larger screens, the link is 58.65 pixels tall with text at 17px.
So they are responsive, though smaller on mobile. I wouldn't mind increasing the text size and/or making the line-height an even number, yet I do not consider this a bug.
#4
follow-up:
↓ 5
@
3 years ago
- Keywords dev-feedback added
It is my belief this isn't a bug, but I would love you to confirm @sabernhardt based on the latest updates here. What do you think?
#5
in reply to: ↑ 4
@
3 weeks ago
- Keywords dev-feedback removed
- Milestone Awaiting Review
- Resolution → fixed
- Status new → closed
It is my belief this isn't a bug
I would not call this a bug in the theme since Twenty Twenty changes the font size for the Button blocks at different screen widths. However, I apparently misunderstood the complaint.
Use large, centered buttons
Button blocks with a width setting do not become wider at small screen sizes. @deborah86 reported this on GitHub, to improve the responsiveness with any theme.
https://github.com/WordPress/gutenberg/issues/33917
Setting a Button block to 25% for desktop widths and 100% for tablet and/or mobile technically is possible now with the responsive style feature, though that does not attempt to adjust the block width automatically.
I'll close as reported-upstream to continue any further discussion on GB33917.


how the page looks on desktop devices