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

Buttons don't appear in NVDA elements list until they receive focus #352

Open cmachanic opened 2 years ago

cmachanic commented 2 years ago

Describe the bug When first opening the modal, the previous, next and close buttons don't appear in NVDA elements' list until they receive focus.

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

To Reproduce Steps to reproduce the behavior:

  1. Open the lightbox with a keyboard
  2. Open NVDA elements and you won't see/hear the buttons
  3. Close NVDA elements, tab to the next arrow, hit return, open NVDA elements and you'll see/hear the buttons in the lists

Expected behavior Buttons should appear in elements by default

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.