{"action":"created","issue":{"url":"https://api.github.com/repos/CMB2/CMB2/issues/1193","repository_url":"https://api.github.com/repos/CMB2/CMB2","labels_url":"https://api.github.com/repos/CMB2/CMB2/issues/1193/labels{/name}","comments_url":"https://api.github.com/repos/CMB2/CMB2/issues/1193/comments","events_url":"https://api.github.com/repos/CMB2/CMB2/issues/1193/events","html_url":"https://github.com/CMB2/CMB2/issues/1193","id":386719830,"node_id":"MDU6SXNzdWUzODY3MTk4MzA=","number":1193,"title":"Colour contrast ration of the .cmb2-metabox-description is too low","user":{"login":"rianrietveld","id":2351479,"node_id":"MDQ6VXNlcjIzNTE0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2351479?v=4","gravatar_id":"","url":"https://api.github.com/users/rianrietveld","html_url":"https://github.com/rianrietveld","followers_url":"https://api.github.com/users/rianrietveld/followers","following_url":"https://api.github.com/users/rianrietveld/following{/other_user}","gists_url":"https://api.github.com/users/rianrietveld/gists{/gist_id}","starred_url":"https://api.github.com/users/rianrietveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rianrietveld/subscriptions","organizations_url":"https://api.github.com/users/rianrietveld/orgs","repos_url":"https://api.github.com/users/rianrietveld/repos","events_url":"https://api.github.com/users/rianrietveld/events{/privacy}","received_events_url":"https://api.github.com/users/rianrietveld/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-03T09:06:15Z","updated_at":"2018-12-03T17:33:52Z","closed_at":"2018-12-03T14:20:19Z","author_association":"NONE","body":"<!--\r\nBefore posting a new issue:\r\n- Please post general support and questions at https://www.wordpress.org/support/plugin/cmb2/. We will move to GitHub once a confirmed bug.\r\n- Please check if your issue is addressed in the CMB2 Wiki Troubleshooting page: https://github.com/CMB2/CMB2/wiki/Troubleshooting\r\n- Please review the contributing guidelines: https://github.com/CMB2/CMB2/blob/trunk/CONTRIBUTING.md.\r\n-->\r\n### Expected Behavior:\r\nThe colour contrast ratio of text and background needs to be 4.5 or higher according to the [WCAG 2.0 and 2.1 guidelines](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html). \r\n\r\nThis is to ensures that most people can read the text.\r\n\r\n### Actual Behavior:\r\nThe description (`.cmb2-metabox-description`) has a colour of `#aaaaaa` which results in a contrast ratio against the white background of 2.3, which is too low.\r\n\r\n### Steps to reproduce (I have confirmed I can reproduce this issue on the trunk branch):\r\nCheck the color contrast with a tool like [Colour Contrast Check by Snook](https://snook.ca/technical/colour_contrast/colour.html#fg=AAAAAA,bg=FFFFFF)\r\n\r\n### Suggested improvement:\r\nI suggest changing the `#aaaaaa` in `#757575`, which has a ratio against white of 4.5.\r\n\r\n`.cmb2-metabox-description` is defined in a few places in the CSS files.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CMB2/CMB2/issues/comments/443797228","html_url":"https://github.com/CMB2/CMB2/issues/1193#issuecomment-443797228","issue_url":"https://api.github.com/repos/CMB2/CMB2/issues/1193","id":443797228,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc5NzIyOA==","user":{"login":"rianrietveld","id":2351479,"node_id":"MDQ6VXNlcjIzNTE0Nzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2351479?v=4","gravatar_id":"","url":"https://api.github.com/users/rianrietveld","html_url":"https://github.com/rianrietveld","followers_url":"https://api.github.com/users/rianrietveld/followers","following_url":"https://api.github.com/users/rianrietveld/following{/other_user}","gists_url":"https://api.github.com/users/rianrietveld/gists{/gist_id}","starred_url":"https://api.github.com/users/rianrietveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rianrietveld/subscriptions","organizations_url":"https://api.github.com/users/rianrietveld/orgs","repos_url":"https://api.github.com/users/rianrietveld/repos","events_url":"https://api.github.com/users/rianrietveld/events{/privacy}","received_events_url":"https://api.github.com/users/rianrietveld/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T17:33:52Z","updated_at":"2018-12-03T17:33:52Z","author_association":"NONE","body":"Wow, that is fast! Thanks!"}}
{"actor":{"display_login":"rianrietveld"}}