Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEXT: Introduce the skeleton-a11y package #2773

Open
endigo9740 opened this issue Jul 19, 2024 · 0 comments
Open

NEXT: Introduce the skeleton-a11y package #2773

endigo9740 opened this issue Jul 19, 2024 · 0 comments
Labels
feature request Request a feature or introduce and update to the project.

Comments

@endigo9740
Copy link
Contributor

endigo9740 commented Jul 19, 2024

Goal

After reviewing with @Hugos68 we've decided it may be beneficial to create framework agnostic tooling for component a11y. This will provide a shared and reusable centralized package and allow us to cover use cases such as:

  • Common keyboard interactions (ex: up/down, home/end)
  • As well as give us a way to inject common ARIA APG attribute patterns

It will be loosely modeled after Zag, but likely much more limited in scope and purpose built for our needs.

Package

This should be introduced as a new monorepo workspace:

/packages/skeleton-a11y

Within the package we can subdivide by:

  • interactions - keyboard interactions or anything related to event listeners
  • aria - ARIA attributes or anything related to templates

This component will only be promoted in-house for now, but we may open it to the public in the future.

Updating Components

Once in place, we should begin retrofitting our existing components to utilize these new tools. We can utilize the Accordion as our initial test case. Then bring this to Listbox, Tabs, etc

See Also

@endigo9740 endigo9740 added the feature request Request a feature or introduce and update to the project. label Jul 19, 2024
@endigo9740 endigo9740 pinned this issue Jul 19, 2024
@endigo9740 endigo9740 unpinned this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a feature or introduce and update to the project.
Projects
None yet
Development

No branches or pull requests

1 participant