Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrisbdetlef/appeals 58970 #23071

Merged
merged 11 commits into from
Oct 3, 2024
6 changes: 4 additions & 2 deletions client/app/caseDistribution/components/AffinityDays.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ const AffinityDays = () => {
onChange={onChangeRadio(lever, option)}
title={option.text}
/>
<label htmlFor={`${lever.item}-${option.item}`} />
<div> {option.text} </div>
<label htmlFor={`${lever.item}-${option.item}`}>
<span className='hidden-label-text'>{option.text}</span>
</label>
<div>{option.text}</div>
</div>
<div>
<div className={className} aria-label={option.unit}>
Expand Down
4 changes: 4 additions & 0 deletions client/app/styles/caseDistribution/_interactable_levers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
display: flex;
}

.hidden-label-text {
display: none;
}

.lever-head {
width: 100%;
border-bottom: 1px solid $color-gray-warm-light;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,11 +410,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_affinity_days-value"
/>
>
<span
class="hidden-label-text"
>
Attempt distribution to current judge for max of:
</span>
</label>
<div>

Attempt distribution to current judge for max of:

</div>
</div>
<div>
Expand Down Expand Up @@ -470,11 +474,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_affinity_days-infinite"
/>
>
<span
class="hidden-label-text"
>
Always distribute to current judge
</span>
</label>
<div>

Always distribute to current judge

</div>
</div>
<div>
Expand All @@ -497,11 +505,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_affinity_days-omit"
/>
>
<span
class="hidden-label-text"
>
Omit variable from distribution rules
</span>
</label>
<div>

Omit variable from distribution rules

</div>
</div>
<div>
Expand Down Expand Up @@ -547,11 +559,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_aod_affinity_days-value"
/>
>
<span
class="hidden-label-text"
>
Attempt distribution to current judge for max of:
</span>
</label>
<div>

Attempt distribution to current judge for max of:

</div>
</div>
<div>
Expand Down Expand Up @@ -597,11 +613,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_aod_affinity_days-infinite"
/>
>
<span
class="hidden-label-text"
>
Always distribute to current judge
</span>
</label>
<div>

Always distribute to current judge

</div>
</div>
<div>
Expand All @@ -625,11 +645,15 @@ exports[`render Case Distribution Application matches snapshot 1`] = `
/>
<label
for="ama_hearing_case_aod_affinity_days-omit"
/>
>
<span
class="hidden-label-text"
>
Omit variable from distribution rules
</span>
</label>
<div>

Omit variable from distribution rules

</div>
</div>
<div>
Expand Down
Loading