Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.99 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.99 KB

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