Accessibility Toolbar is a plugin for Omeka Classic that adds a floating accessibility button to the public site.
When activated, it opens a panel with several interface customisation options designed to improve readability, visual comfort, and keyboard accessibility.
The plugin is intended to give visitors quick access to common accessibility adjustments without requiring modifications to the underlying theme files.
The toolbar currently includes the following options:
- Increase text size
- Decrease text size
- Reset text size
- Choose a more readable font:
- Default
- Arial
- Verdana
- Comic Sans
- OpenDyslexic
- High contrast mode
- Underline links
- Increase line spacing
- Increase letter spacing
- Enhanced focus indicators
- Custom text and background colours
- Reset custom colours
- Reset all settings
The plugin is also prepared for gettext-based localisation.
The plugin adds a floating button on the public side of the website.
When selected, the button opens an accessibility panel that allows visitors to apply different appearance settings to the current interface.
User preferences are stored in the browser using localStorage, so settings persist across pages and future visits on the same browser.
The plugin is designed to keep the toolbar itself visually stable while applying changes to the rest of the page.
Visitors can increase or decrease the text size in steps, and reset it to the default value at any time.
The plugin allows visitors to switch to a more readable typeface.
OpenDyslexic is included locally in the plugin.
This option applies a high contrast presentation mode intended to improve readability for some users.
This option forces links to appear underlined, making them easier to identify.
Visitors can increase line spacing and letter spacing to improve reading comfort.
This option strengthens visible focus indicators for keyboard users.
Visitors can choose their own text and background colours.
The plugin validates the contrast ratio before applying them. Custom colours are only enabled when the selected combination reaches at least 4.5:1 contrast ratio.
The toolbar has been designed to support keyboard interaction:
- The floating button can be reached by keyboard
- The panel can be opened and closed without a mouse or keyboard
- Toggle cards can be activated with:
- mouse
- Space
- Enter
- The panel can be dismissed with the
Escapekey - Changes are announced through a live region where appropriate
This plugin affects only the public theme of Omeka Classic.
It does not modify the administrative interface.
This plugin can help provide visitors with useful interface adjustments, but it does not guarantee WCAG conformance by itself.
Accessibility compliance depends on the full website, including:
- theme structure
- content
- colour choices
- keyboard behaviour
- forms
- media
- heading structure
- alternative text
- many other factors
The toolbar should therefore be understood as a supportive accessibility layer, not as a substitute for a proper accessibility review of the theme and content.
Install in the usual Omeka Classic way:
- Download the plugin
- Unzip it
- Rename the folder to
AccessibilityToolbarif needed - Upload it to the
pluginsdirectory of your Omeka Classic installation - Go to the Omeka administration interface
- Activate the plugin from the plugins page
The plugin is prepared for localisation using gettext.
All user-facing strings in the PHP code are written in English and wrapped for translation.
Translation files are stored in the languages directory.
Typical files include:
template.pot— translation templateca_ES.po— editable Catalan translationca_ES.mo— compiled Catalan translation used by Omeka
To add or update a translation:
- Use
template.potas the source template - Create or update the corresponding
.pofile for the target locale - Translate the
msgstrentries - Compile the
.pofile into a.mofile - Save the files in the
languagesdirectory
The plugin includes a Catalan (ca_ES) translation as an example.
The plugin registers its translation source during initialisation so that Omeka can load the correct translation files when that locale is active.
The plugin includes local font files for OpenDyslexic.
Settings are stored in the visitor's browser through localStorage.
This means:
- settings persist between pages
- settings remain active on future visits in the same browser
- settings are browser-specific and device-specific
The plugin is designed to work across different Omeka Classic themes.
However, some themes use highly specific CSS rules that may interfere with the toolbar or with page-wide visual overrides.
To improve compatibility, the plugin includes additional style isolation for the widget itself and dynamic style injection for appearance-related modes.
Even so, theme-specific adjustments may occasionally be necessary.
The plugin does not:
- automatically repair inaccessible theme markup
- add missing alternative text
- correct heading structure
- fix inaccessible forms by itself
- guarantee full compliance with WCAG 2.2
This plugin is especially useful when you want to offer visitors quick visual adjustments without editing the theme manually.
It is a good complement to:
- accessible theme development
- keyboard testing
- colour contrast review
- content accessibility review
- WCAG evaluation workflows
GPLv3
Rubén Alcaraz Martínez
