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

Colour contrast for accessibility #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Huda11Baig
Copy link

Originally, the lighthouse score for accessibility was 91.

To improve this score, I targeted the displayed warning regarding colour contrast. In particular, poor colour contrast was present in the "search" button and "view details" link button that was displayed on the main dashboard page. These issues were repaired by:

identifying the associated HTML class and id attributes of the buttons that were causing the accessibility issues
locating the file controlling the style rules for the front-end website, which was discovered to largely be controlled by the base.css file, located at Mayan-EDMS/mayan/apps/appearance/static/appearance/css
applying the necessary colour fixes using the class attributes of the problematic buttons
This change increased the accessibility lighthouse score by 2, taking it from 91 to 93.

@Huda11Baig Huda11Baig linked an issue Aug 9, 2022 that may be closed by this pull request
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.

Improve accessibility by resolving some existing accessibility issues
1 participant