-
Notifications
You must be signed in to change notification settings - Fork 42
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
making L2 keyboard focusable #79
base: main
Are you sure you want to change the base?
Conversation
✅ Changeset has been found!This will create and publish a new version to NPM after a successful merge. |
@@ -356,7 +356,7 @@ export class Popover extends LitElement { | |||
<slot name="content"></slot> | |||
${this.arrow ? html`<div id="arrow"></div>` : null} | |||
</div> | |||
<div id="trigger"> | |||
<div id="trigger" tabindex="0"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be better to let consumers decide how to implement a11y rather than forcing the decision on them here.
I suggest doing this on the verify side by passing focusin:focusout
as a trigger type to cai-popover
and adding tabindex="0"
to <cai-indicator>
.
Changes in this pull request
making L2 open with keyboard
Types of changes
Checklist
TO DO
items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment