Skip to content

Iliain/silverstripe-accessible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silverstripe Accessible

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Provides a number of additions to Silverstripe to make it more accessible.

Installation (with composer)

composer require iliain/silverstripe-accessible

Requirements

  • PHP 7.4+ or 8.0+
  • Silverstripe 4+ or 5+

Documentation

Example Config

Below is the default config, you can overwrite any of these settings in your own config.yml

Iliain\Accessible\ShortcodeProviders\AccImageShortcodeProvider:
  custom_template: 'Iliain\\Accessible\\Shortcodes\\Image'        # (String|null) Custom template 
Iliain\Accessible\ShortcodeProviders\AccLinkShortcodeProvider:
  custom_template: 'Iliain\\Accessible\\Shortcodes\\Link'         # (String|null) Custom template 

To Do

  • Add options to display File sizes in both templates and WYSIWYGs
  • Add descriptive text to WYSIWYG hyperlinks

About

Adds a number of accessibility features to Silverstripe

Resources

License

Stars

Watchers

Forks

Packages

No packages published