[web-php] PR #749: Improve sidebar menu contrast to fix accessibility issues

From: Date: Tue, 24 Jan 2023 12:30:53 +0000
Subject: [web-php] PR #749: Improve sidebar menu contrast to fix accessibility issues
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-30746@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/web-php/pull/749 Author: javiereguiluz In order to be accessible, text must have a contrast ratio of at least 4.5:1 See https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html ----- This increases the contrast of the selected item in the sidebar menu to reach that ratio: | Before | After | ------- | ----- | ![before](https://user-images.githubusercontent.com/73419/214289205-c86c80e0-5b50-4fd4-a4e5-1154b26858e3.png) | ![after](https://user-images.githubusercontent.com/73419/214289217-d3a8d6c1-1567-493f-b735-abea975ac490.png) | Text contrast: 2.61 | Text contrast: 4.50

« previous php.webmaster (#30746) next »