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

Accessibility improvements #816

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from

Conversation

klues
Copy link

@klues klues commented May 18, 2020

Various accessibility improvements, e.g.:

  • correct usage of semantic HTML5 elements (e.g. main, nav)
  • correct relationships between input elements and labels (via properties id and for)
  • added labels to non-labelled elements

Note: I've just extracted the most important changes from our Q2A instance which can be found at https://github.com/wbt-vienna/question2answer

Important: I've not tested this with all the standard Q2A Themes, most likely this PR will break some things. Possibly it makes sense to extract smaller changes and PRs and to not merge this big PR.

We're using Question2Answer on q2a.asterics-foundation.org with Donut theme. There I've also made some changes regarding accessibility which can be found in this PR.

@svivian
Copy link
Collaborator

svivian commented May 26, 2020

Haven't had a chance to review this properly yet, but just wanted to say this is a great area for improvement that we have neglected in the past. Thanks for the effort!

The branch seems to have gotten a bit messed up, but I should be able to cherry-pick your commits when I get time.

@klues
Copy link
Author

klues commented May 27, 2020

Yeah, as said, I just tried to extract all the relevant things from our own project and made a PR out of it.

Just ask if any changes are unclear. It's for sure a good idea to split this PR into smaller ones with definite topics like e.g. correct usage of semantic HTML5 elements.

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.

4 participants