digitalshopfront/accessibility
最新稳定版本:1.0.1
Composer 安装命令:
composer require digitalshopfront/accessibility
包简介
A package for all accessibility functions for the Digital Shopfront CMS.
README 文档
README
This is the repository for the Digital Shopfront CMS Accessibility composer package. You can learn more about Digital Shopfront CMS here.
The package adds in accessibility functions for the CMS, such as color contrast checking, toast duration and more.
Installation
You can install the accessibility package by running the following composer command.
composer require digitalshopfront/accessibility
Usage
You can use any of the accessibility functions like this:
use Digitalshopfront\Accessibility\Facades\A11y as A11y;
echo A11y::a11yCSSVarBlackOrWhite('#38ed24');
You can also call any of the functions directly like this:
echo A11y::a11yCSSVarBlackOrWhite('#38ed24');
Contributing
As an open source project, this package is open to contributions from anyone. Please read through the contributing guidelines to learn more about how you can contribute to this project.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-04-16