cBridges851/tkinter-image-viewer

Arrow button accessibility issue

Aperta

#5 aperta il 2 ott 2022

 (5 commenti) (0 reazioni) (0 assegnatari)Python (8 fork)auto 404
buggood first issuehacktoberfesthacktoberfest2022help wantedpythontkinter

Metriche repository

Star
 (5 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the bug Pressing enter or space on the arrow buttons don't move onto the next or previous image.

This might be problematic because some users are unable to use a mouse due to physical barriers, like motor impairments. Read more about accessibility here: https://www.w3.org/WAI/standards-guidelines/wcag/

To Reproduce Steps to reproduce the behavior:

  1. Open the application
  2. Tab to one of the arrow buttons
  3. Press enter or space
  4. The image doesn't change

Expected behavior If the left arrow button is in focus and the enter or space button is clicked, then the image should change to the previous image if it's not the first.

If the right arrow button is in focus on the enter or space button is clicked then the image should change to the next image if it's not the last.

Screenshots image These are the buttons I'm referring to.

Desktop (please complete the following information):

  • OS: Windows 10

Additional context This was not originally thought of when I created this application. You can use the left or right keys on the keyboard, but the user isn't made aware of this.

This issue is open to being worked on for Hacktoberfest, comment below if you have any questions and/or would like to work on it! First come first serve. - Assigned, but feel free to checkout the other issues currently in the repo or create your own!

Guida contributor