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

Theme Changer Accesibility Tweaks #594

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Ekatwikz
Copy link
Contributor

  • theme changer: improve tabbability
    indexed each theme's anchor tag, for easier keyboard navigation
  • theme changer: moved prevent default call
  • theme changer: add handler for Enter keypress
    allows changing themes using keyboard only,
    would probably improve accisibility

@arifszn
Copy link
Owner

arifszn commented May 19, 2024

Not working for me. When I press the keyboard down key, the whole page scrolls.

@Ekatwikz
Copy link
Contributor Author

Ekatwikz commented May 19, 2024

The changes were to allow the tabbing order to include the themes, and to allow themes to be selected using the Enter key
You can test the changes by repeatedly pressing Tab (or Shift+Tab to go backwards) until you reach some theme, then press Enter to select that theme

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

Successfully merging this pull request may close these issues.

None yet

2 participants