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

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to