
Moodle accessibility
Guides agents to build Moodle plugin UI that meets WCAG 2.1 AA accessibility rules
Moodle accessibility is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Moodle accessibility
This skill gives an AI coding agent a checklist and reference patterns for making Moodle plugin interfaces accessible under WCAG 2.1 AA. It covers semantic markup in Mustache templates, form labelling through formslib, button and link choices, icon handling, table structure, and colour contrast in SCSS themes. It also points the agent to Moodle's own core components such as the modal, focus manager and toast helpers, so it reuses built-in focus trapping and live regions rather than writing custom ones.
The skill also covers keyboard behaviour, a screen reader testing matrix with quick manual checks, and automated scanning with axe-core and Pa11y run against a local Moodle URL. A common mistakes table and a list of issues reviewers raise during moodle.org plugin directory submission round it out.
It is written for developers working in Moodle, so the examples assume PHP, Mustache, JavaScript modules and SCSS in a plugin folder. The skill contains no scripts; the automation commands are run by the developer.
When your agent uses it
Use when ensuring Moodle plugin UI meets WCAG 2.1 AA — semantic HTML in Mustache, ARIA via core helpers, keyboard navigation, color contrast in SCSS, focus management in modals, screen reader testing, and Pa11y/axe automation.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (8 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the moodle-dev plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add SaadRahman01/claude-moodle-dev
/plugin install moodle-dev@moodle-devOr copy only this skill to ~/.claude/skills/moodle-accessibility:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/moodle-accessibility &&
cp -R "$tmp/skills/moodle-accessibility" ~/.claude/skills/moodle-accessibility &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/moodle-accessibility inside it instead.
Copy the skill folder to ~/.agents/skills/moodle-accessibility to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/moodle-accessibility &&
cp -R "$tmp/skills/moodle-accessibility" ~/.agents/skills/moodle-accessibility &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/moodle-accessibility inside it instead.
Copy the skill folder to ~/.cursor/skills/moodle-accessibility to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/moodle-accessibility &&
cp -R "$tmp/skills/moodle-accessibility" ~/.cursor/skills/moodle-accessibility &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/moodle-accessibility inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/SaadRahman01/claude-moodle-dev.git --path skills/moodle-accessibilityOr copy the folder to ~/.gemini/skills/moodle-accessibility yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/moodle-accessibility:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/moodle-accessibility &&
cp -R "$tmp/skills/moodle-accessibility" ~/.copilot/skills/moodle-accessibility &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/moodle-accessibility inside it instead.
Get the folder:
git clone --depth 1 https://github.com/SaadRahman01/claude-moodle-dev.gitThen copy claude-moodle-dev/skills/moodle-accessibility into your agent's skills folder as moodle-accessibility. Agents that support SKILL.md read one folder per skill.
What it does
- Semantic Mustache markup
- Patterns for using native buttons, headings, sections and tables so screen readers get correct structure.
- Formslib labelling
- Shows how Moodle's quick form output links labels, help buttons and required-field attributes to inputs.
- Colour contrast in SCSS
- Explains the 4.5:1 text and 3:1 UI contrast targets and how to check theme palette colours.
- Modal and focus management
- Describes using core modal and focus manager helpers so focus is trapped and restored on close.
- Live region announcements
- Covers core toast notifications and when to use polite versus assertive live regions.
- Automated accessibility scans
- Lists axe-core and Pa11y commands for checking a Moodle page against WCAG2AA.
Good for
- Make a new Moodle plugin settings form accessible to screen readers
- Review a pull request for accessibility regressions in Mustache templates
- Fix colour contrast problems in a plugin's SCSS theme overrides
- Add an accessible modal dialog that traps focus using Moodle core helpers
- Prepare a plugin for moodle.org directory submission with accessibility checks
Moodle accessibility FAQ
Which Moodle version and framework does Moodle accessibility assume?
It assumes the Boost theme, Bootstrap 5 and Moodle's component library, and refers to the Bootstrap 5 class names used there.
Does Moodle accessibility run any scripts or change files?
No. The skill contains only its instructions file and gives reference code and commands for the developer to use.
What tools does Moodle accessibility need for testing?
It names axe-core via npm, Pa11y via npm, and screen readers such as NVDA, VoiceOver, Orca and TalkBack for manual testing.
When does the skill apply?
It applies when building Moodle plugin UI, reviewing pull requests for accessibility, preparing directory submissions, or responding to accessibility bug reports.
How do I install Moodle accessibility in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/moodle-accessibility to use it in all your projects, or to .claude/skills/moodle-accessibility in one project. Or install the moodle-dev plugin, which includes it: /plugin marketplace add SaadRahman01/claude-moodle-dev, then /plugin install moodle-dev@moodle-dev.
Does Moodle accessibility run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Moodle accessibility?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Moodle accessibility?
The closest alternatives to Moodle accessibility are Moodle plugin development, Moodle security audit, Frontend a11y, Moodle performance and Moodle theme development.
Where this comes from
- Description: from the skill's own SKILL.md.
More from SaadRahman01/claude-moodle-dev

Guides building and calling Moodle web services: external functions, tokens and schemas
- Open source
- 44 GitHub stars
- Developer tools

Guides writing Moodle browser JavaScript as AMD modules with grunt builds and tests
- Open source
- 44 GitHub stars
- Developer tools

Guides writing and running Behat acceptance tests for Moodle plugins
- Open source
- 44 GitHub stars
- Developer tools

Guides building and migrating Moodle 4.4+ hook classes, listeners and tests
- Open source
- 44 GitHub stars
- Developer tools

Guides building Moodle plugin UI that renders inside the Moodle Mobile app
- Open source
- 44 GitHub stars
- Developer tools

Guides an agent through performance tuning for Moodle plugins: caching, queries, tasks
- Open source
- 44 GitHub stars
- Developer tools


