[ 
https://issues.apache.org/jira/browse/TRINIDAD-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849902#action_12849902
 ] 

Jeanne Waldman commented on TRINIDAD-1743:
------------------------------------------

I do not think this is a Trinidad bug.

The Trinidad panelHeader has these styles:
    <!-- panelBox's header selector -->
    <style selector="af|panelBox::header">
    </style>

    <style selector="af|panelBox::light af|panelBox::header">
      <includeStyle name="AFMediumBackground"/>
      <includeStyle name="TextForegroundDarkBackground"/>
    </style>

You must be styling AFMediumBackground:alias to be C4CEE0.

You should probably override the af|panelBox::light af|panelBox::header in your 
skin to change the background color.

You can use @accessibility-profile high-contrast to specify the change only for 
high-contrast mode, if that is necessary.

> CorePanelBox color contrast ratio is too low, violating Accessibility 
> guidelines
> --------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1743
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1743
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>         Environment: using CorePanelBox in an ADF Faces rich client 
> application, on any OS or browser.  
>            Reporter: Jim Evans
>
> The text in the CorePanelBox title bar has the style class 
> "af_panelBox_header", which has background-color:#C4CEE0 (light blue) and 
> color:#FFFFFF (white).  This is insufficient color contrast according to 
> Oracle's accessibility guidelines, and is flagged as a violation by our 
> compliance tool.  Even to a sighted person like me, this combination seems 
> too low-contrast. 
> To repro, create a brand new application and page, with only a CorePanelBox 
> on it:
> <tr:panelBox id="pb2" text="This contrast is too low"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to