- π¨π¦Canada mgifford Ottawa, Ontario
It is generally understood, but would be good to eliminate it. Thanks @rootwork.
Drupal uses variations on the verb "click" in user-facing text (account emails), site administrator-facing text (e.g. status messages, inline help) and developer-facing text (e.g. PHPDoc, code comments).
Websites/applications built in Drupal are not only being used with point-and-click devices like mouses. They are also being used:
In particular for user-facing text, we shouldn't be assuming a particular input device is being used.
This is a proposal to create a policy to rephrase that kind of language.
<!--break-->I originally noticed this when I was looking at π Use email verification when changing user email addresses Needs work .
All code: grep for 'clicking' in Drupal repo (or similar searches for "click", "clicked", etc.)
Examples of user-facing text: user.mail.yml (several times)
Examples of site admin-facing text: INSTALL.txt, block.module, contextual.module, comment.configuring.html.twig
Examples of developer-facing text: node.preview.es6.js (and note function name), form.es6.js, FormSubmitterInterface.php, BrowserTestBaseTest.php (admittedly in the weeds, but clickLink()
is used often in tests)
Adopt a policy regarding input device-specific language in Drupal code.
Follow-up 1: Update user-facing text consistent with the new policy in the style guide.
Follow-up 2: Update site admin-facing text consistent with the new policy in the style guide.
Follow-up 3: Update developer-facing text consistent with the new policy in the style guide.
I separate these because the first seems particularly urgent. Ideally we shouldn't be assuming developers are only using a mouse, or model language for them in which "clicking" is the default; we also shouldn't tell site admins to save a block interface by "clicking" save. But much more significant are the default account-reset emails that go out to every user of a Drupal site, telling them to "click" various links -- a huge percentage of those are going to be seen and acted on with mobile devices.
None within this issue; potential content changes in follow-ups.
None within this issue; potential code documentation and/or function name changes in follow-ups.
None.
TK
Active
11.0 π₯
It involves compliance with, or the content of coding standards. Requires broad community agreement.
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
It is generally understood, but would be good to eliminate it. Thanks @rootwork.