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

Add contenteditable to iterateFocusableElements #241

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

JelloBagel
Copy link
Contributor

Closes #236

In the iterateFocusableElements method, add support for elements with contenteditable HTML attribute to be recognized as focusable elements.

Also, I added some more tests in iterate-focusable-elements.test.tsx for isFocusable and isTabbable

@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2023

🦋 Changeset detected

Latest commit: cb98837

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/behaviors Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JelloBagel JelloBagel marked this pull request as ready for review October 27, 2023 22:59
@JelloBagel JelloBagel requested review from a team and joshblack October 27, 2023 22:59
@joshblack
Copy link
Member

Hey @JelloBagel! Thanks for taking the time to make this PR 🙏 Will try to find some time today to go over this and submit a review 👍

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.

Add support for contenteditable=true in iterateFocusableElements
2 participants