You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the <pre> elements used for text output from a code chunk can accept ARIA labels and descriptions that will be read by screen readers. Here are the options:
Use aria-label You can add an aria-label attribute to provide a concise, descriptive label for the <pre> element.
Use aria-labelledby If there is a visible label or heading associated with the <pre> element, you can link it using aria-labelledby.
Use aria-describedby For more detailed descriptions, you can provide additional context using aria-describedby.
WCAG guidelines in this category:
The text was updated successfully, but these errors were encountered: