Skip to content

Commit

Permalink
Adding aria-describedby.
Browse files Browse the repository at this point in the history
  • Loading branch information
erinesullivan committed Aug 11, 2023
1 parent 999f16d commit f5897a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function ChooseAffiliation () {
autoComplete='off'
value={affiliation}
onChange={onAffiliationChange}
aria-describedby='affiliation-description'
>
{Object.keys(initialAffiliationState.affiliationOptions).map((affiliationOption) => {
return (
Expand All @@ -56,7 +57,7 @@ function ChooseAffiliation () {
);
})}
</select>
<p className='font-small'>Selecting an affiliation helps us connect you to available online materials licensed for your campus. You can still use Library Search if you're not affiliated with either campus.</p>
<p className='font-small' id='affiliation-description'>Selecting an affiliation helps us connect you to available online materials licensed for your campus. You can still use Library Search if you're not affiliated with either campus.</p>
</fieldset>
);
}
Expand Down

0 comments on commit f5897a5

Please sign in to comment.