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

Cannot specify initial focus #6

Closed
codemusket opened this issue Mar 22, 2018 · 2 comments
Closed

Cannot specify initial focus #6

codemusket opened this issue Mar 22, 2018 · 2 comments
Assignees

Comments

@codemusket
Copy link

codemusket commented Mar 22, 2018

Hello, I would like to request the ability to specify an initial focus. I actually need it to be able to focus on the entire layer initially, then tab loop inside the modal as currently does. The problem is screen readers read the X button first, which isn't the intent. We want to ensure that the message is read out first, then the user can cycle between content button and X button.

@nico3333fr nico3333fr self-assigned this Mar 31, 2018
@nico3333fr
Copy link
Owner

I'm working on adding a data-attribute to an id.

@nico3333fr
Copy link
Owner

Hi @codemusket

it is added in 292f380

I've updated the readme, and examples.

Cheers,
Nicolas

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

No branches or pull requests

2 participants