Conversation
Author
|
Updated the entry to release 1.0.2.0: control labels are escaped, the styles and script are files instead of inline code, and the package no longer includes |
edersotto
force-pushed
the
add-accessibility-block
branch
from
September 15, 2026 18:18
aac31eb to
fbec3c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Accessibility Block 1.0.2.1, a block plugin with reader accessibility controls, with releases for OJS 3.5, 3.4 and 3.3 (one branch per line). This update rebases the entry on the current
mainand replaces the 1.0.1.0 entry.What it does
A sidebar block with increase zoom, decrease zoom, high contrast and reset. The reader's choices are kept in the browser and applied again on every page that shows the block. The controls are real buttons with
aria-labelandaria-pressed, a hidden live region announces the zoom level, and the buttons reuse the theme's button style.How it plugs in
A standard
BlockPlugin: the block template, with its script added throughaddJavaScriptonly where the block is shown. No core file or template is replaced and no database table is added.Tests
PKPTestCase(plugin class against the installed PKP, templates, locales).pkp/pkp-github-actionson the OJS 3.5 and 3.4 branches — green. PKP's CI no longer starts OJS 3.3 on current runners, so on 3.3 the same spec was run on an OJS 3.3.0.22 installation.Checks run before updating this
xmllint --schema ./plugins.xsd ./plugins.xml --noout— validates.1.0.2.1:c0099ef52913c6f0ddf620849b759f6a1.0.2.1-ojs3.4:5bb5b63721053839b67347441c225cac1.0.2.1-ojs3.3:54a607b066b5087ffbd00a7c4c24cae4Use of generative AI
Generative AI (Claude, by Anthropic) was used to write and run tests, improve the code and bring it in line with PKP standards. Every change was reviewed and tested by OJSBR, which maintains the plugin and is responsible for its releases.
GPL-3.0 · https://github.com/OJSBR/accessibility