JavaScript library to help modern web applications with accessibility concerns by making accessibility simpler.
ally.js is a JavaScript library that simplifies accessibility-related functions and behaviors in web applications. It provides standard functions for handling focus management that browsers do not natively expose, making it easier for developers to implement accessible behavior in their applications. It has been tested on IE9+, Firefox, Chrome, and Safari 9, as well as Mobile Chrome on Android 5.1 and Safari for iOS 9.
The library identifies and normalizes browser differences in which elements are considered focusable, and can query the DOM for focusable or tabbable (keyboard-focusable) elements. It supports trapping focus navigation within a DOM sub-tree, making DOM sub-trees inert by disabling focus and interaction on their elements, and identifying focused elements and focus changes within ShadowDOM.
Additional features include a polyfill for the CSS `:focus-within` selector, detection of how focus changed (keyboard, mouse, or script) to allow different focus outline styles, and detection of whether a focusable element is visible in the viewport to prevent unwanted scrolling on focus. It is intended for developers building JavaScript-driven interfaces, such as modal dialogs or menus, who need to manage focus and keyboard interaction. The library is published under the MIT License and was created by Rodney Rehm.
ally.js is a JavaScript library that simplifies accessibility features and functions that the web platform should provide itself, such as managing focus and focusable elements. It does not automatically make an application accessible on its own.
ally.js has been tested on IE9+, Firefox, Chrome, and Safari 9, as well as Mobile Chrome on Android 5.1 and Safari for iOS 9.
ally.js is published under the MIT License.
It can be included via a script tag pointing to ally.min.js and then used through its API, for example ally.maintain.disabled to trap focus in a modal dialog.
It is for JavaScript application developers who need to handle accessibility concerns like focus management and keyboard navigation more easily.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
An application, a Twitter bot and a browser extension that bites websites to taste their accessibility.
A weekly dose of web accessibility to help you bring it into your every day work.
A tool for creating color variations on a base color to meet WCAG AA or AAA color contrast ratio guidelines.
A curate list about A11Y. Contribute to brunopulis/awesome-a11y development by creating an account on GitHub.
A CSS stylesheet to quickly highlight a11y concerns. - jackdomleo7/Checka11y.css.
Make sure your website has accessible colors.