承接 femundfilou/kirby-accessibility-check 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

femundfilou/kirby-accessibility-check

最新稳定版本:1.0.1-beta.1

Composer 安装命令:

composer require femundfilou/kirby-accessibility-check

包简介

Kirby plugin to add accessibility checks

README 文档

README

This plugin adds accessibility checking capabilities to your Kirby CMS powered website. With the panel button, editors can enable an accessibility overlay to easily spot issues in the frontend of your website. By default, the Accessibility quality assurance tool Sa11y is used and added via CDN.

Important

This plugin is compatible with Kirby 5 and up.

Features

  • Adds accessibility check button to panel
  • Only active when editor chooses to enable it (uses session)
  • Automatically includes required assets when active

Plugin in action

Installation

There are three options to install the plugin.

Download

Download and copy this repository to /site/plugins/kirby-accessibility-check.

Git submodule

git submodule add https://github.com/femundfilou/kirby-accessibility-check.git site/plugins/kirby-accessibility-check

Composer

composer require femundfilou/kirby-accessibility-check

Setup

This plugin registers a new panel view button you can use in your page blueprints.

# site/blueprints/pages/default.yml

buttons:
 # new button
 - accessibility-check
 # default buttons
 - preview
 - languages
 - settings
 - status

Customize

You can overwrite each provider by creating a snippet to your site/snippets folder. For example, you would create the file site/snippets/kirby-accessibility-check/providers/sa11y.php to add your own Sa11y implementation or configuration, e.g. if you don't want to use the CDN or stick to a specific version.

Configuration

You can configure the plugin by adding the following to your site/config/config.php file:

return [
    'femundfilou.kirby-accessibility-check.enabled' => false // default: true
];

License

MIT

Credits

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-02