biati-digital / glightbox

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes
MIT License
2.07k stars 228 forks source link

Tab order in modal controls can't be reversed #356

Open cmachanic opened 2 years ago

cmachanic commented 2 years ago

Describe the bug When tabbing between the previous, next and close buttons, the tab sequence cannot be reversed with Shift + Tab. It always moves clockwise.

Are you able to reproduce the bug in the demo site Yes

To Reproduce Steps to reproduce the behavior:

  1. Open modal and tab between the previous, next and close buttons.
  2. Try to reverse the tabbing sequence (counter clockwise) with the key command Shift + Tab, and the tabbing continues in the same sequence.

Expected behavior A keyboard user should be able to go back and forth between the previous and next buttons

Desktop:

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.