Skip to content

Commit

Permalink
add WCAG link to tooltip thing
Browse files Browse the repository at this point in the history
  • Loading branch information
handeyeco committed Jul 30, 2024
1 parent 84cc86c commit 66f1682
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/perseus-editor/src/widgets/expression-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,18 @@ class ExpressionEditor extends React.Component<Props> {
/>
</label>
<InfoTip>
<p>Label text that's read by screenreaders.</p>
<p>
Label text that's read by screen readers. Highly
recommend adding a label here to ensure your
exercise is accessible. For more information on
writting accessible labels, please see{" "}
<a
href="https://www.w3.org/WAI/tips/designing/#ensure-that-form-elements-include-clearly-associated-labels"
target="_blank"
>
this article.
</a>
</p>
</InfoTip>
</div>

Expand Down

0 comments on commit 66f1682

Please sign in to comment.