cBridges851/tkinter-image-viewer

Arrow button accessibility issue

开放

#5 创建于 2022年10月2日

 (5 条评论) (0 个反应) (0 位负责人)Python (8 个派生)auto 404
buggood first issuehacktoberfesthacktoberfest2022help wantedpythontkinter

仓库指标

星标
 (5 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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!

贡献者指南