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

Improve colorpicker accessibility #435

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

alastair-simon
Copy link
Contributor

What?

Improve the accessibility of the mt-colorpicker component

Why?

Currently the colorpicker does not allow focus tabbing for navigation, making it in-accessable for users without a cursor.

How?

Using the Focus-trap dependancy to allow focus navigation inside the colorpicker modal

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 8, 2025 5:56pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
meteor-admin-sdk-docs ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 5:56pm

Haberkamp

This comment was marked as resolved.

@alastair-simon alastair-simon force-pushed the improve-colorpicker-accessibility branch from 794afd8 to afc0ec1 Compare January 2, 2025 11:44
@alastair-simon alastair-simon force-pushed the improve-colorpicker-accessibility branch from c490831 to 9755f70 Compare January 8, 2025 16:38
@alastair-simon alastair-simon force-pushed the improve-colorpicker-accessibility branch from bc22f8c to 226dc91 Compare January 8, 2025 17:33
feat: implement scale transition

remove isFocused method

remove inital focus and add focus class

remove focusedELem data

fix focus

remove refs and circle logic

add trap type and deactivation logic

feat: add focus style class

feat: add toggleFocus

fix: add hasfocus to ensure input is tabbable

fix: ts errors

Add changeset

feat: set style tag as css scoped

feat: add shift key multipliers to input step values

test: add test

test: add interaction test

style: format code

remove unit test

fix: focus trap displaycheck

test: add unit test for colorpicker

style: format code

update visual tests

add snapshots

remove snapshot

update snapshots

remove visual tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants