Skip to content

Commit

Permalink
Add an aria-label for the criteria icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mjumbewu committed Sep 5, 2023
1 parent a1229f3 commit e36c162
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/components/CypressGrantsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
<div v-if="isPrimaryApplicantSelected && isDetailVisible" class="reasons">
<ul>
<li class="criterion" v-for="criterion in orderedEligibilityCriteria" :key="criterion.reason">
<span class="determination-marker">
<span class="determination-marker"
:aria-label="criterion.determination === true ? 'Satisfied' :
criterion.determination === false ? 'Not Satisfied' :
criterion.determination === null ? 'Needs Review' :
'Needs More Info'">
{{ criterion.determination === true ? '' :
criterion.determination === false ? '' :
criterion.determination === null ? '?' :
Expand Down

0 comments on commit e36c162

Please sign in to comment.