Download the PHP package adamjenkins/moodle-local_accessibility without Composer

On this page you can find all versions of the php package adamjenkins/moodle-local_accessibility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package moodle-local_accessibility

Accessibility

Lets every user adjust how Moodle looks and reads for them: text size, spacing, fonts, colours, motion and more. It is one plugin with all features built in.

Features

Setting Choices
Text size Any percentage up to 1000% (steps of 10; default 100%), with quick picks 100%, 125%, 150%, 200%, 250% and 300%. The whole page scales in proportion.
Font Site default; the device's sans-serif, serif and monospace fonts; Atkinson Hyperlegible, Lexend, OpenDyslexic Alta and Comic Neue (included); Japanese UD Gothic, Japanese UD Mincho and Japanese textbook (device fonts); fonts uploaded by the administrator. Each option is shown in its own font.
Spacing: line height Site default, or any value from 0 to 10 in steps of 0.1 (typed values to 0.01). Paragraph spacing follows the line height.
Spacing: letter spacing Site default, or any value from −5 to 5 em in steps of 0.01 em
Spacing: word spacing Site default, or any value from −10 to 10 em in steps of 0.02 em
Alignment Site default, Left, Centre, Right, Justified
Colours Site default, High contrast, Yellow on black, Black on white, Cream, Dark, the site's own schemes, and Custom (your own background, text and link colours, adjusted to a 7:1 contrast ratio unless you keep your exact colours)
Line width Full width, or any width from 1 to 300 characters in steps of 5
Links Off, Underlined, Underline and outline, Highlighted
Images Shown, Dimmed, Hidden (alt text shown)
Guide Off, Reading ruler, Reading mask
Motion On, Stopped
Read Off, Read aloud bar shown (the browser's own voices, sentence by sentence; no visual highlight yet)
Saturation Normal, Low, Greyscale, High
Focus ring Standard, Strong, Extra thick
Cursor Standard, Large, Extra large

The ranges include the WCAG 1.4.12 text spacing values (line height 1.5, letter spacing 0.12, word spacing 0.16). The lower ends above (negative spacing, line heights under 1, text size and line width down to 1) apply while the administrator's Limits of number settings is Unlimited, the default.

Included fonts

Atkinson Hyperlegible, Lexend and Comic Neue (regular and bold) are under the SIL Open Font License 1.1. OpenDyslexic Alta (regular, bold and italic) is OpenDyslexic 2 by Abelardo Gonzalez, with a single-storey "a": the original Bitstream glyphs are under the Bitstream Vera licence and the OpenDyslexic changes under CC BY 3.0. Licence texts are in fonts/, sources in thirdpartylibs.xml.

The device fonts are font stacks: nothing is downloaded, and a device without any font in a stack shows its own default font of that kind.

Settings for administrators

Under Site administration > Plugins > Local plugins > Accessibility:

Guests

Visitors who are not logged in keep their settings in a cookie (local_accessibility) in their own browser. Nothing is stored on the server for them. Logged-in users' settings are stored as user preferences.

Known limitations

Upgrading from 2.x

Existing users' settings are carried over. Moodle 4.5 or later is required. Text size, line height and letter spacing keep their value, rounded to a whole percent or hundredth; paragraph widths of 25, 50 and 75 become line widths of 50, 60 and 70 characters; highlighted links become Underline and outline and hidden images Hidden (alt text shown).

The upgrade uninstalls an old accessibility_* widget plugin only when its folder is already gone from local/accessibility/widgets/. If the old widget folders are still there after the upgrade (for example after a git pull, or after unpacking 3.0 over the old folder), delete each local/accessibility/widgets/<name>/ folder, keeping widgets/README.md, then uninstall the leftover widgets under Site administration > Plugins > Plugins overview.

Installing

Install from a ZIP file via Site administration > Plugins > Install plugins, or put the contents of this directory in {your/moodle/dirroot}/local/accessibility and run

$ php admin/cli/upgrade.php

Credits

License

2023 Ponlawat Weerapanpisit [email protected] 2026 Adam Jenkins [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.


All versions of moodle-local_accessibility with dependencies

PHP Build Version
Package Version
Requires moodle/moodle Version ^4.5 || ^5.0
moodle/composer-installer Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adamjenkins/moodle-local_accessibility contains the following files

Loading the files please wait ...