[Webkit-unassigned] [Bug 273656] New: AX: meter element tray/gutter/channel is too dark when `@media (prefers-contrast: more)` is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 16:12:19 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273656

            Bug ID: 273656
           Summary: AX: meter element tray/gutter/channel is too dark when
                    `@media (prefers-contrast: more)` is enabled
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jcraig at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

AX: meter element tray/gutter/channel is too dark when `@media (prefers-contrast: more)` is enabled

Using this test case:
https://bugs.webkit.org/attachment.cgi?id=471244

See this style difference on macOS after enabling Settings > Accessibility > Display > Increase Contrast.

For example, the meter outline and colors are darker, but the background is too dark a gray, making it difficult to see a difference between the filled meter and the unfilled portions. I think the right solution is to leave the tray/gutter/channel color the same lighter grary as the default, and keep the other color differences, including color of filled sections and overall outline.

When the setting is enabled, the default WebKit rendering should meet a minimum of 3:1 luminosity contrast ratio to suffice WCAG §1.4.11 Non-Text Contrast: https://www.w3.org/TR/WCAG22/#non-text-contrast

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240502/9fb463b8/attachment.htm>


More information about the webkit-unassigned mailing list