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

Player accessibility improvements #55

Open
FrenjaminBanklin opened this issue Jun 16, 2023 · 1 comment
Open

Player accessibility improvements #55

FrenjaminBanklin opened this issue Jun 16, 2023 · 1 comment

Comments

@FrenjaminBanklin
Copy link
Contributor

With the understanding that we're trying to make accessible a widget that's more or less choosing the correct option between two images...

  • The 'Start' button is still in the tab order after a play has begun.
    • Either remove the 'Start' button from the tab order after starting a play or, better yet, remove it from the DOM entirely.
  • Question text is not reachable in the tab order, which makes it unavailable to screen readers.
    • Make sure the question text has a tab order.
@clpetersonucf
Copy link
Member

clpetersonucf commented Jun 16, 2023

One concern here is adding the question to the tab index: most documentation is pretty explicit about using tab for focusable elements and inputs, not non-interactive elements like question text. The more ideal solution likely involves using semantic DOM elements and labels to describe the text content as being the question text. For instructions or contextual information related to specific elements, focusable or otherwise, we can lean on things like aria-describedby or aria-labelledby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants