Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #63449, comment 4


Ignore:
Timestamp:
05/25/2025 05:50:16 AM (8 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63449, comment 4

    initial v1  
    33- @dilipbheda assigned a darker `#3c434a` text color to `p.description code`, which is more restrictive, in [https://github.com/WordPress/wordpress-develop/pull/8653 PR 8653].
    44
    5 More contrast is usually better, but I think both proposed colors are unnecessarily dark inside the `.description` paragraphs. The `#646970` text has a ratio of 4.86:1 against the `#f0f0f1` gray `body` background. The next-darkest gray is `#50575e`, which would give the site icon dimensions a 5.50:1 ratio (slightly higher than the surrounding paragraph text, but not as drastic as 7.53:1 with `#3c434a` or 7.09:1 with `#44464B`).
     5More contrast is usually better, but I think both proposed colors are unnecessarily dark inside the `.description` paragraphs. The `#646970` paragraph text has a ratio of 4.86:1 against the `#f0f0f1` gray `body` background. The next-darkest gray is `#50575e`, which would give the site icon dimensions a 5.50:1 ratio (slightly higher than the surrounding paragraph text, but not as drastic as 7.53:1 with `#3c434a` or 7.09:1 with `#44464B`).
    66
    77As much as I do not want the `body` background changed to white (see ticket #62831), that technically would solve the issue without //requiring// additional CSS on this ticket. It would increase the contrast for `code` elements in `.description` paragraphs from an insufficient 4.15:1 to a passing ratio of 4.72:1.