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

Focus in Modal Dialog #96

Open
stevenbirr opened this issue Jul 8, 2014 · 5 comments
Open

Focus in Modal Dialog #96

stevenbirr opened this issue Jul 8, 2014 · 5 comments
Assignees
Milestone

Comments

@stevenbirr
Copy link

Hey,

we encountered a problem using the backdrop modal dialog. When the dialog opens, it does not get any focus event. Thus, if you open the dialog and and press [Tab] afterwards, then the next element on the page "behind" the the modal get focussed. Furthermore, the user can leave the modal by pressing [Tab], even if it's a "backdrop: static" modal.

This is contrary to the default Bootstrap's modals. As you can see here: http://getbootstrap.com/javascript/#modals the focus stays always inside the modal when pressing [Tab].

Regards,
Steven

@akserg
Copy link
Owner

akserg commented Jul 8, 2014

Thanks,
I will have a look.

On 8 July 2014 14:58, stevenbirr [email protected] wrote:

Hey,

we encountered a problem using the backdrop modal dialog. When the dialog
opens, it does not get any focus event. Thus, if you open the dialog and
and press [Tab] afterwards, then the next element on the page "behind" the
the modal get focussed. Furthermore, the user can leave the modal by
pressing [Tab], even if it's a "backdrop: static" modal.

This is contrary to the default Bootstrap's modals. As you can see here:
http://getbootstrap.com/javascript/#modals the focus stays always inside
the modal when pressing [Tab].

Regards,
Steven


Reply to this email directly or view it on GitHub
#96.

@akserg
Copy link
Owner

akserg commented Jul 11, 2014

Hi Steven.

I have check original example from location you did mentioned on Bootstrap
website: http://getbootstrap.com/javascript/#modals
If I highlight the close button on modal and press TAB the focus moving to
other components behind the model. Seems they have the same bug, but I wish
to fix it in our implementation.

On 8 July 2014 15:30, Sergey Akopkokhyants [email protected] wrote:

Thanks,
I will have a look.

On 8 July 2014 14:58, stevenbirr [email protected] wrote:

Hey,

we encountered a problem using the backdrop modal dialog. When the dialog
opens, it does not get any focus event. Thus, if you open the dialog and
and press [Tab] afterwards, then the next element on the page "behind" the
the modal get focussed. Furthermore, the user can leave the modal by
pressing [Tab], even if it's a "backdrop: static" modal.

This is contrary to the default Bootstrap's modals. As you can see here:
http://getbootstrap.com/javascript/#modals the focus stays always inside
the modal when pressing [Tab].

Regards,
Steven


Reply to this email directly or view it on GitHub
#96.

@akserg akserg added this to the 0.6 milestone Jul 11, 2014
@akserg akserg self-assigned this Jul 11, 2014
@akserg
Copy link
Owner

akserg commented Jul 11, 2014

Autofocus problem was fixed in original Angular UI only 3 days ago. Check this issue. I wish check and combine with tabulation issue.

@akserg
Copy link
Owner

akserg commented Jul 11, 2014

I found this issue in Angular UI Bootstrap makes me furious. This one still open close to 10 month and was updated only 2 days ago.

@akserg
Copy link
Owner

akserg commented Feb 25, 2015

Planning to fix it soon.

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