Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Insuficient contrast ratio #295

@zwiastunsw

Description

@zwiastunsw

1. Insuficient contrast ratio (2.92 < 4.5)

URL: administrator/index.php?option=com_content&view=articles
kontr1
The color combination #858a8e/#e9ebed has a contrast ratio of 2.92, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#656b71/#e9ebed / has a ratio of 4.52

###Relevant code:
<button class="button-status-group btn btn-action dropdown-toggle" data-toggle="dropdown" data-target="#toolbar-dropdown-status-group" aria-haspopup="true" aria-expanded="false" type="button" disabled="true"> <span class="fa fa-ellipsis-h" aria-hidden="true"></span> Actions</button>

2. Insuficient contrast ratio (3.77 < 4.5)

URL: administrator/index.php?option=com_content&view=articles
kontr2
The color combination #ffffff/#6a879f has a contrast ratio of 3.77, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#ffffff/#587a95 / has a ratio of 4.53

Relevant code:

<button type="button" class="btn btn-primary js-stools-btn-clear mr-2" disabled=""> Clear </button>

3. Insuficient contrast ratio (4.43 < 4.5)

URL: administrator/index.php?option=com_content&view=articles
kontr3
The color combination #2077dd/#ffffff has a contrast ratio of 4.43, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#1976dc/#ffffff / has a ratio of 4.50

Relevant code:

<a class="hasTooltip" href="/40_tpl/administrator/index.php?option=com_content&amp;task=article.edit&amp;id=72" title="Edit Popular Tags"> Popular Tags</a>

4. Insuficient contrast ratio (3.88 < 4.5)

URL: administrator/index.php?option=com_content&view=article&layout=edit
kontr4
The color combination #7a828b/#ffffff has a contrast ratio of 3.88, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#6f7781/#ffffff / has a ratio of 4.53

Relevant code:

<button type="button" data-alloy-tabstop="true" tabindex="-1" class="tox-statusbar__wordcount">0 words</button>

5. Insuficient contrast ratio (4.29 < 4.5)

URL: administrator/index.php?option=com_content&view=article&layout=edit
kontr5
The color combination #ffffff/#607e92 has a contrast ratio of 4.29, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#ffffff/#5b7a8f / has a ratio of 4.54

Relevant code:

<button type="button" class="btn btn-secondary" href="#" onclick="tinyMCE.execCommand('mceToggleEditor', false, 'jform_articletext');return false;"> <span class="icon-eye" aria-hidden="true"></span> Toggle Editor </button>

6. Insuficient contrast ratio (4.30 < 4.5)

kontra6
The color combination #6c757d/#f5f5f5 has a contrast ratio of 4.30, which is not sufficient. At this size, you will need a ratio of at least 4.5.
Consider using the following foreground/background combination:
#68727a/#f5f5f5 / has a ratio of 4.50

Relevant code:

<span class="text-muted">⋮&nbsp;&nbsp;&nbsp;</span>

7 Insuficient contrast ratio links / background

URL: administrator/index.php?option=com_content&view=articles
kolor7

Proposals for solutions:

  1. If background = #f5f5f5
  2. If background = # ffffff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions