Page MenuHomePhabricator

Normal buttons should have a minimum width to provide accessible targets
Closed, ResolvedPublic

Description

you can see on http://tools.wmflabs.org/styleguide/desktop/section-1.html#section-1.2 the button labeled "go" creates a button of 51px width, I'm recommending that we establish a minimum of 80px or similar equivolent in ems for buttons which have borders.


Version: unspecified
Severity: normal

Details

Reference
bz70972

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz70972.

gerritadmin wrote:

Change 161248 had a related patch set uploaded by Prtksxna:
button.less: Set min-width to 80px

https://gerrit.wikimedia.org/r/161248

gerritadmin wrote:

Change 161248 merged by jenkins-bot:
button.less: Set min-width to 80px

https://gerrit.wikimedia.org/r/161248

I changed it from 80px to 70px since 80px was too large for some mobile uses. See https://gerrit.wikimedia.org/r/#/c/161620/.

Ryan, what screens were the issues present on? also this doesn't affect "square" buttons (e.g. button groups)