-
Notifications
You must be signed in to change notification settings - Fork 629
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
base: dev
Are you sure you want to change the base?
Conversation
Treat blob ids as strings due to size limitations
Fix negative upvoteCount wrongly displayed
we don't really need them, do we?
Prevent using <embed> and <object> tags
Fire u_delete_before event before deleting a user
Prevent duplicated vote events
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. |
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. |
Various accessibility improvements, e.g.:
main
,nav
)id
andfor
)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.