Accessibility Page Options icon

Accessibility Page Options

The Page Options block gives every reader a small, self-contained set of on-page tools to adjust how Moodle looks and reads: text size, colour theme, and read-aloud.
Price option: Free
Supports Moodle 2.2-5.2 See all versions

Latest release: 1 week ago
Installations: 2659
Downloads (last 90 days): 491

Frankenstyle name: block_accessibility
Blocks

Description

What is the Accessibility Page Options block?

The Page Options block gives every reader a small, self-contained set of on-page tools to adjust how Moodle looks and reads: text size, colour theme, and read-aloud.

The Page Options block was formerly the Accessibility block; it was renamed to avoid confusion with the accessibility-review tools in the Brickfield Toolkit (Accessibility Review, Review+, and Overview).

It is a complete rewrite and simplification of the original block. It runs entirely in the reader's browser — there is no third-party toolbar, no server round-trips, and no database table. Read-aloud uses the browser's own built-in speech, so nothing extra is loaded.

Once a reader chooses a setting it follows them across the whole site: preferences are kept in a single functional cookie and reapplied before each page paints, so there is no flash of the default styling as the reader moves from page to page — even on pages where the block itself is not shown.

Features

Text size. Increase, decrease, or reset the text size for the whole page. The page scales smoothly, and the reader's choice is remembered site-wide.

Colour themes. Five whole-page colour themes, shown as compact swatch buttons that preview each theme:

  • Default — the site's normal colours.
  • Cream — a warm, low-glare reading tint.
  • Blue — a soft blue reading tint.
  • High contrast — black background, white text and yellow links.
  • Dark — a designed dark-grey palette (not a simple colour inversion), so images and videos are left untouched.

Each theme recolours the whole page — the navigation, side drawers and menus, cards, tables, book and quiz pages, and blocks — not just the main content area. Every theme's colours were contrast-checked against their own backgrounds and meet WCAG 2.2 AA.

Read aloud. Read the current text selection or the whole page aloud using the browser's built-in speech, with an adjustable speech rate and a choice of voice. The voice list offers the on-device voices installed on the reader's own computer or device (plus a System default); online, server-streamed voices are deliberately left out because they can fail or fall silent. Reading follows the page's language marking, so content in another language is read with a matching installed voice. No external service is contacted and no audio is uploaded anywhere — a chosen voice runs on the device. The read-aloud controls are hidden automatically on browsers that do not provide built-in speech (for example some older or embedded browsers). Text size and colour themes work on every supported browser.

Accessible by design. The block's own controls are real, keyboard-operable buttons with screen-reader labels; changes are announced through a live region; the selected theme is shown with more than colour alone; and the block honours reduced-motion and Windows High Contrast (forced-colours) settings. Built to WCAG 2.2 AA.

Private by design. No personal data is stored, transmitted, or processed. The text size, colour theme and read-aloud voice choices are held only as a functional preference in the reader's own browser, and the block does not read that preference on the server.

Usage

  1. Turn editing on for the page where you want the tools (a course, the Dashboard, or any other page that shows blocks).
  2. Add the Page Options block from the "Add a block" list.
  3. Readers can now use the controls in the block:
    • Text size — use A', Reset and A+.
    • Colour theme — choose Default, Cream, Blue, High contrast or Dark.
    • Read aloud — choose "selection" or "page", pick a voice (on-device voices, or System default), adjust the speech rate, and use Stop.
  4. A reader's choices are remembered and reapplied automatically across the site, so the block usually only needs to be added in one place (for example the Dashboard).

Configuration

There is nothing to configure. The block has no site-level settings and needs no API keys or accounts — add it to a page and it works.

Who can add the block is controlled by the standard Moodle capabilities block/accessibility:addinstance (editing teachers and managers, on a course or other context) and block/accessibility:myaddinstance (any user, on their Dashboard).

License

2026 Onward Brickfield Education Labs. Licensed under the GNU GPL v3 or later.

Version support

This plugin has been developed to work on Moodle releases 4.5 and 5.0, 5.1 and 5.2 on PHP 8.1 or later.

History

Earlier versions of this block (then called the Accessibility block) depended on the third-party ATbar toolbar to provide their tools, along with server-side YUI JavaScript and several endpoints.

This version removes that dependency entirely. Read-aloud now uses the browser's own built-in speech instead of ATbar, and text size and colour themes are applied with CSS and a small cookie — so the block is self-contained, lighter, and makes no third-party requests. The old YUI JavaScript, the per-instance colour configuration form, the changesize.php, changecolour.php, database.php and userstyles.php endpoints, and the Internet Explorer workarounds were removed at the same time.

Development

This plugin has been developed and is maintained by Brickfield Education Labs.

Important Links

Installation

  1. Unzip and copy the "accessibility" folder into Moodle's "blocks" folder, please note the exact component name of this plugin is block_accessibility.
  2. Visit the Site Admin page to install this new block.

Further installation instructions can be found on the "Installing plugins" Moodle documentation page.

Contributors

Awards

Privacy friendly
Automated testing support