[web-php] PR #749: Improve sidebar menu contrast to fix accessibility issues
| From: | javiereguiluz | 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
| ------- | -----
|

|

| Text contrast: 2.61 | Text contrast: 4.50