sugarlabs / musicblocks

Music Blocks -- A musical microworld
https://musicblocks.sugarlabs.org/
GNU Affero General Public License v3.0
539 stars 726 forks source link

Accessibility features for visually impaired #1366 #3874

Open ashleyep opened 2 months ago

ashleyep commented 2 months ago

Description

We added a feature on the auxiliary nav bar that allows users to create custom color profiles which change the appearance of the nav bar. Users can add as many color profiles as they would like, and can switch between them via a dropdown menu. They can also delete color profiles they are no longer using. This feature allows for greater accessibility for the visually impaired by giving them the ability to customize their viewing experience.

Related Issue

This PR fixes #1366

Changes Made

Testing Performed

Checklist

Additional Notes for Reviewers

Right now it seems as though it won't let you change color profiles if there is only one in the dropdown, and the delete functionality works as intended majority of the time, but sometimes will not allow you to delete the last 2 profiles.

πŸ“š See contributing instructions.

πŸ™‹πŸΎπŸ™‹πŸΌ Questions: Community Matrix Server.

walterbender commented 1 month ago

This is pretty cool. But I wonder if just changing the colors of the main and aux tools bars is enough to meet the needs of the visually impaired? It would seem we'd want to change most everything defined in js/utils/platformstyle.js. And while letting the user customize, maybe the more immediate problem to solve is simply a high-contrast version of the colors?

pikurasa commented 1 month ago

I agree with Walter. I imagine there's documentation online of recommendations for this sort of thing. Just a quick search for me brings up this: https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/