# Bug OP-17466 - Plan name in enterprise banners has insufficient color contrast

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17466

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system / Enterprise banner, Accessibility |
| Target versions | 16.5.0 |
| Observed in versions | 16.0.0 |
| Sprint | 16.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | Yes |
| Pull preview |  |
| List | a11y report 2025 |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Henriette Darge |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

Look at any enterprise banner.

### What is the buggy behavior?

The name of the required enterprise plan has an insufficient color contrast of 2.3:1 in light mode, e.g. "Corporate Enterprise Plan" in the following screenshot:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/715173/content">

### What is the expected behavior?

Color contrast of text should be at least 4.5:1

### Logs

Result from automated accessibility test:

``` text
       Found 1 accessibility violation:
     
       1) color-contrast: Elements must meet minimum color contrast ratio thresholds (serious)
           https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI
           The following 1 node violate this rule:
           
               Selector: .text-bold.upsell-colored[data-view-component="true"]
               HTML: <span data-view-component="true" class="upsell-colored text-bold">Corporate enterprise plan</span>
               Fix any of the following:
               - Element has insufficient color contrast of 2.3 (foreground color: #fb8f44, background color: #ffffff, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1
               
       Invocation: axe.run({"include" => [["#content"]]}, {}, callback);
```
