项目作者: dimanech

项目描述 :
Collections of WAI-ARIA WCAG 2.1 AAA compatible components
高级语言: JavaScript
项目地址: git://github.com/dimanech/aria-components.git
创建时间: 2020-03-10T15:04:23Z
项目社区:https://github.com/dimanech/aria-components

开源协议:MIT License

下载


ARIA Components

Tests

This is collections of WAI-ARIA WCAG 2.1 AAA compatible components.

Those components not fully tested or proven to work as expected in all browsers,
but in most cases it has production ready code and could be used in real project.

These components designed to be very portable and modular, without any additional
dependencies or infrastructure. So they could be easily placed in any kind of
projects without any dependencies and extra efforts.

It designed as development ready component, so it contains only needed code and styles.

You could see it in action

Quick start

  1. Copy some component file into you project. In most cases it is just single file.

  2. Init component on the page

  1. import ScrollCarousel from './ScrollCarousel.js';
  2. document.querySelectorAll('[data-component="./carousels/ScrollCarousel"]')
  3. .forEach(elem => new ScrollCarousel(elem).init());

Components have initializer, but it could be simply substituted with this code.

Targeted browsers

  • Chrome / Mobile Chrome
  • Safari / Mobile Safari
  • Firefox

  • Windows Narrator with MS Edge, NVDA with Google Chrome
  • MacOS VoiceOver Utility (v9 562.858) with Safari, Google Chrome
  • GNU/Linux Gnome Orca Screen Reader 3.32 with Firefox (Gecko) and Epiphany (WebKitGtk)

License

This software or documents includes material derived from
WAI-ARIA practice.
Copyright © 2020 W3C® (MIT, INRIA, ERCIM, Keio, Beihang).

All Rights Reserved. This work is distributed under the
W3C® Software License
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Copyright © 2019-2020, D. Nechepurenko. Published under MIT license.