HIYSL REFERENCE / FIELD NOTES

How to Check Progress Bar Fill Contrast Against Its Track

Contents
AI-generated illustration; not taken on location · Illustrated progress bar with the fill, track, and boundary labeled
AI-generated illustration; not taken on location · A conceptual progress bar showing the fill, track, and boundary to compare.AI-generated illustration

To check a progress bar’s fill contrast, identify the visible color of the completed portion and the visible color of the remaining track. Compare those two colors with a checker whose inputs and output you understand, then inspect the boundary at several progress values. Verify the accessibility criterion that applies before treating any reported ratio as a pass or failure.

A useful check also considers how someone understands the value. A readable value label, a descriptive label, or a pattern may provide another cue when the color boundary is hard to see. Recheck the bar and its labels whenever you change a color.

Identify the fill and track

Start with a version of the bar that shows some progress and some remaining space. The track represents the total length of the process, while the fill represents progress toward completion. The point where the filled portion ends and the remaining track begins is the boundary you want to assess.

Look closely at that boundary before collecting colors. A bar can have a surrounding area, an outline, and a label as well as the two regions you are comparing. For this check, select the fill on one side of the boundary and the remaining track on the other. The contrast between the bar and the surrounding page is a separate question; a clear outer edge does not by itself establish that the fill can be distinguished from the track.

Choose a useful example

If you can control the displayed value, begin somewhere between empty and complete. At an endpoint, there may be little or no visible boundary between completed and remaining progress to inspect. Keep the example open while you work so you can return to the same bar after comparing the colors.

If the interface offers more than one appearance, such as different themes or states, make a note of which one you are checking. A result for one appearance should not automatically be applied to another. Repeat the process for each appearance you need to assess.

A simple record can prevent mix-ups: note the displayed progress value, the appearance or state, the fill color, and the track color. If you cannot tell which region represents progress, use any available label or accompanying description for context. You can also ask the person responsible for the interface to clarify the intended fill and track before deciding which colors to compare.

Compare the visible colors

Obtain a color for each side of the boundary using a method available to you. If you can inspect the interface’s color values, record the values associated with the visible fill and remaining track. If you have access to a color picker that can sample what is displayed, check how it selects and reports a color, then sample each region separately.

When sampling, choose a point clearly inside each region rather than on the boundary, an outline, a label, or the surrounding background. Check that the selected point belongs to the bar and corresponds to the appearance you intend to assess. If you are working from an image of the interface, keep track of that context and verify whether the sampled colors represent the actual appearance you need to evaluate.

Enter the pair in a checker

Before entering values, inspect the checker’s instructions or input controls. Confirm which color formats it accepts, where each color belongs, and what its output represents. Do not assume that a picker and checker accept the same format or that a particular tool can sample colors directly. If the checker requires a format you do not have, use a supported way to obtain the values in that format and confirm the pair before proceeding.

Enter the fill and track colors as the two colors to compare. Record the reported ratio alongside the pair and the bar state. The ratio is a numerical result for that color comparison; use the checker’s explanation to understand its scale and how it reports the result.

The number alone does not establish whether this particular indicator meets an accessibility requirement. Verify which criterion applies to the indicator and how that criterion should be evaluated. If the checker displays a pass or failure, confirm what requirement it is testing before relying on that verdict. A result intended for a different comparison may not answer your question about the fill-to-track boundary.

If either region has more than one visible color, do not assume a single sampled pair describes the whole boundary. Identify the relevant adjacent colors and check the combinations needed for the appearance you are assessing.

Assess the boundary and supporting cues

Return to the bar and look at where the fill meets the remaining track. Can you tell where completed progress ends? Compare that observation with the checker’s result and the criterion you have verified. A numerical comparison and a visual inspection help answer related questions, but seeing the boundary yourself is not a substitute for checking the applicable requirement.

Inspect representative values if you can change or view them: one near the beginning, one around the middle, and one near completion. At each value, look for the boundary and ask whether the amount of progress is understandable. Also check the empty and complete states if they are relevant; they can communicate status even when there is no interior fill-to-track boundary to compare.

If you cannot control the value, assess the states available to you and note which ones still need checking. If the appearance changes with progress, repeat the color comparison for the relevant pairs rather than carrying one result across every state.

Look beyond the color pair

A value label can give the reader additional context. For example, a label showing a percentage can communicate a specific value while the bar provides a visual indication of progress. Check that the label is readable where it appears and that its value agrees with the bar. If the label moves or sits over different parts of the bar, check it in those positions too.

A descriptive label can explain what the progress refers to. A pattern on a region may provide another visual cue when the two colors are difficult to distinguish. Consider whether each cue helps a reader understand the progress without having to guess which part of the bar is filled.

These cues can support understanding, but do not assume that adding one automatically satisfies the applicable accessibility criterion. Verify the requirement for the indicator and assess each label or pattern in its actual setting. If another person is responsible for the design, share the color pair, the values checked, and the point at which the boundary became difficult to identify.

Adjust and check again

If the boundary is difficult to distinguish or the comparison does not meet the criterion you have verified, consider changing the fill, the track, or both. Choose a candidate pair, record it, and compare it with the same checker. A palette generator may help you explore alternatives if it supports the inputs and outputs you need; check its instructions before relying on it to produce or evaluate a pair.

Make the change in the interface if you can, then inspect the resulting bar rather than relying only on the proposed values. Confirm that the visible fill and remaining track are the colors you intended to compare. If you cannot make the change yourself, provide the proposed pair and the reason for it to the person who can.

Repeat the checks in context

Use the same representative progress values as before. At each one, locate the boundary and compare the visible colors if the relevant pair changes. Check other appearances or states affected by the adjustment as well. Record the new ratio, the criterion used for the decision, and any states that still require review.

Then look at the supporting cues again. A color change can affect how a label appears against its immediate background, so check the label wherever it sits. Confirm that its wording or value still makes sense and that any pattern remains distinguishable. If the bar has an outline or sits against a surrounding background, review those relationships separately when they matter to understanding the indicator.

Finish by asking: can a reader identify the completed and remaining portions, understand what the progress describes, and read the value where one is shown? Keep the comparison result with the checked state so that a later change can be assessed against the right version. If a requirement or tool output remains unclear, verify it before recording the bar as compliant.