Problem/Motivation
Editors uploading PDFs have no guidance within the module on how to create accessible PDFs. There is also no
way for site administrators to customize instructional text shown to editors.
Proposed resolution
- Add a configurable "Editor instructions" field to the settings form, with a default message linking to
the help page. - Implement
hook_help()with a detailed, configurable help page covering PDF accessibility
steps. - Add a "Help page content" textarea to the settings form so administrators can customize the help
page. - Add
pdfa11y.helpconfig object with schema for storing help content. - Add an update hook to set defaults for existing installations.
Remaining tasks
- Review and commit.
User interface changes
- New "Editor instructions" textarea on the settings form.
- New "Help page content" collapsible details section on the settings form.
- New help page at
/admin/help/pdfa11y.
API changes
None.
Data model changes
- New
editor_instructionsstring added topdfa11y.settingsconfig. - New
pdfa11y.helpconfig object withhelp_contentstring.
Issue fork pdfa11y-3580118
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
joshuami