iliain/silverstripe-accessible

Provides accessible features for Silverstripe

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

1.3.0 2023-07-28 06:37 UTC

This package is auto-updated.

Last update: 2024-03-01 00:22:54 UTC


README

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