@actum-digital/aria-hooks 中文文档教程
@actum-digital/aria-hooks
一组钩子,有助于在网络上传播可访问性,而无需掌握所有 aria 属性和规范。
提供的所有功能均符合 WCAG 2.1 要求,该要求由 万维网联盟 (W3C)。
Installation
您可以通过在项目的根目录中运行以下命令之一来安装此包。
via npm:
$ npm i @actum-digital/aria-hooks
或
via yarn:
$ yarn add @actum-digital/aria-hooks
Hooks
useAriaModal
- Documentation for
useAriaModal
hook. - Modal Dialog Example by W3C.
useAriaDrawer
- Documentation for
useAriaDrawer
hook.
useAriaLisbox
- Documentation for
useAriaLisbox
hook. - Collapsible Dropdown Listbox Example by W3C.
useAriaNavigation
- Documentation for
useAriaNavigation
hook. - Navigation Menubar Example by W3C.
useAriaTooltip
@actum-digital/aria-hooks
A collection of hooks to help spreading accessibility on the web, without having to master all aria attributes and specifications.
All provided features meet the WCAG 2.1 requirements determined by the World Wide Web Consortium (W3C).
Installation
You can install this package by running one of the following commands in the root of your project.
via npm:
$ npm i @actum-digital/aria-hooks
OR
via yarn:
$ yarn add @actum-digital/aria-hooks
Hooks
useAriaModal
- Documentation for
useAriaModal
hook. - Modal Dialog Example by W3C.
useAriaDrawer
- Documentation for
useAriaDrawer
hook.
useAriaLisbox
- Documentation for
useAriaLisbox
hook. - Collapsible Dropdown Listbox Example by W3C.
useAriaNavigation
- Documentation for
useAriaNavigation
hook. - Navigation Menubar Example by W3C.
useAriaTooltip
Documentation for
useAriaTooltip
hook.Content on Hover or Focus by W3C.
更多
你可能也喜欢
- 24point 中文文档教程
- 42-cent-worldpay 中文文档教程
- @0x-lerna-fork/global-options 中文文档教程
- @100shapes/monday-ui 中文文档教程
- @17media/node-logger 中文文档教程
- @1onlinesolution/dws-hermes 中文文档教程
- @21epub/epub-thirdparty 中文文档教程
- @3yourmind/kotti-style 中文文档教程
- @6river/loopback-component-changestreamer 中文文档教程
- @8select/eightlytics-client 中文文档教程