From 3f3d984a4cc51a14c2a6bd499009e0620f95088c Mon Sep 17 00:00:00 2001 From: jade <101148768+jadeddelta@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:58:44 -0500 Subject: [PATCH] fix up formatting errors --- docs/overview/browser-device-support.md | 11 ++++++----- docs/reference/jspsych.md | 2 ++ docs/support/migration-v8.md | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/overview/browser-device-support.md b/docs/overview/browser-device-support.md index 891e0c42..7de505a4 100644 --- a/docs/overview/browser-device-support.md +++ b/docs/overview/browser-device-support.md @@ -22,11 +22,12 @@ There are many other web browsers that are available, but that are not commonly In general, jsPsych experiments can be run on mobile devices (smartphones and tablets). However, certain plugins will not work on mobile. For instance, any plugin that requires a keyboard response without a text input box, such as the *-keyboard-response plugins, will not work. Even plugins that do work on mobile might work differently than they do on desktop and laptop computers. For instance, on mobile devices, a text input box will cause an on-screen keyboard to pop up, which affects the visible content on the screen. If you plan to run an experiment that allows people to use mobile devices, we recommend doing some extra testing to make sure that everything works as expected. In particular, you may want to check that: -* Font sizes are readable on smaller screens -* Stimuli sizes are large enough and appropriate for the task -* Page is laid out as intended (e.g. elements are centered and do not overlap) -* Response options are touchscreen-friendly (e.g. buttons rather than key presses) -* Response options (e.g. buttons, text boxes, radio buttons) are large enough and far enough apart to be easily selected with a finger tap + + * Font sizes are readable on smaller screens + * Stimuli sizes are large enough and appropriate for the task + * Page is laid out as intended (e.g. elements are centered and do not overlap) + * Response options are touchscreen-friendly (e.g. buttons rather than key presses) + * Response options (e.g. buttons, text boxes, radio buttons) are large enough and far enough apart to be easily selected with a finger tap It's possible to use your browser's developer tools to emulate mobile devices ([this page shows how to do it in Chrome](https://developers.google.com/web/tools/chrome-devtools/device-mode)), which is useful for getting a sense of how your experiment will look on mobile devices. Just be aware that there are limitations to emulator tools, and there are some aspects of mobile devices/browsers that a desktop browser will not be able to simulate. diff --git a/docs/reference/jspsych.md b/docs/reference/jspsych.md index 906241fc..da29234b 100644 --- a/docs/reference/jspsych.md +++ b/docs/reference/jspsych.md @@ -400,6 +400,8 @@ var el = jsPsych.getDisplayElement(); // hide the jsPsych display el.style.visibility = 'hidden'; ``` + + --- ## jsPsych.getInitSettings diff --git a/docs/support/migration-v8.md b/docs/support/migration-v8.md index b0651a10..16a60495 100644 --- a/docs/support/migration-v8.md +++ b/docs/support/migration-v8.md @@ -83,7 +83,7 @@ const trial = { ``` The `button_html` parameter can also support different HTML for each button. -See the [plugin documentation](https://www.jspsych.org/plugins/jspsych-html-button-response/) for more details. +See the [plugin documentation](https://www.jspsych.org/latest/plugins/html-button-response/index.html) for more details. ## Plugin parameter handling