npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zohodesk/a11y

v2.2.6

Published

In this Package, We Provide Some Basic Components For Accessibility

Downloads

2,110

Readme

DOT Style Guide

In this Package, We Provide Some Basic Components For Accessibility

2.2.6

  • useEvent hook - The null issue in the function fn was resolved because the function had not been properly assigned to the local reference.

2.2.5

  • FocusScopeUtil - The isElementContainedInFocusScope method has been removed because it's no longer necessary. applyingListStyle is no longer combined with applyFocusStyle.

  • useFocusLoop - The applyListStyle functionality added to the onEleFocus method to apply styling when the focused element is a list item. Similarly, removeListStyle added to the onEleBlur method to remove the style.

2.2.4

  • useFocusLoop - Removed unnecessary isArrowEvent ref.

  • FocusScopeUtil

    Added common method isElementContainedInFocusScope to check if an element is within the focusScope container.

    Added an additional check in the ApplyFocusStyle method to apply the list style.

2.2.3

  • useFocusLoop - Enable list active on pressing tab - fixed.

2.2.2

  • useFocusLoop - Enter Action fix - Preventing parent enter action if any list is active.

2.2.1

  • FocusScopeUtil - getLandmarkElements method - Web app querySelectorAll compound selector issue fix.

2.2.0

  • NavigationManager and SkipNavigation added.

  • FocusScope

    isFocusRingEnabled changed to isTabKeyEnabled

    List Navigation issue fixes.

  • FocusScopeUtil

    Common functionality added to detect landmark elements. This function filter out all the valid landmark element.

    isFocusRingEnabled changed to isTabKeyEnabled

    data-a11y-list, data-a11y-focus-main-area - New attributes added to detect list elements and main focusable areas and elements.

2.1.2

  • FocusScope - Enter action prevent default - Text area field issue fix.

2.1.1

  • FocusScope - Enter action - Conflict between System focus and visible focus fixed.

2.1.0

  • FocusScope

    Prop names changed - restoreFocus => needRestoreFocus, autoFocus => needAutoFocus, needArrowLoop => needListNavigation, needTabLoop => needFocusLoop, enableEnterAction => needEnterAction

    utils - issue fix on applyFocusStyle.

2.0.2

  • index.js added in home directory

2.0.1

  • FocusScope

    mousedown event listener added for document when file downloads on the app. so that it won't be assigned everytime component re-renders.

    defaultProps and propTypes moved as separate file.

    useRestoreFocus - removing focusStyle of previous active element.

    useFocusScope - Removed document onClick from this hook as it assigned everytime focusscope re-renders.

2.0.0

  • FocusScope

    Enhanced list navigation and key navigation.

    FetchingNextOptions on scroll has been done.

  • Provider - A11y common configuration has been created.

1.3.7

  • FocusScope

    Space key issue fix.

    scroll fix on focus.

1.3.6

1.3.4, 1.3.5

  • FocusScope - Variable initialization on component update fixed.

1.3.3

  • FocusScope - Arrow event conflict fix.

1.1.2

  • FocusScope

    Container focus check added.

    enableEnterAction prop added.

    Enter key action propagation issue fixed.

1.0.3

  • FocusScope - Focus scope css varible format updated according to UCL package.

1.0.2

  • FocusScope - FocusScope enhancement.

1.0.1

  • FocusScope - FocusScope Implemented.