Skip to content

Commit

Permalink
Update packages/react/documentation/coding-conventions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens authored Mar 8, 2024
1 parent 3d9a972 commit 21dd869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/documentation/coding-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Subcomponents (e.g. `Grid.Cell`) are kept in separate files (e.g. `GridCell.tsx`

## Text for screen readers only

Use [Visually Hidden](https://amsterdam.github.io/design-system/?path=/docs/react_containers-visually-hidden--docs) or the `amsterdam-visually-hidden` utility class to hides content from sighted users but keep it accessible to non-visual user agents, such as screen readers.
Use [Visually Hidden](https://amsterdam.github.io/design-system/?path=/docs/react_containers-visually-hidden--docs) or the `amsterdam-visually-hidden` utility class to hide content from sighted users but keep it accessible to non-visual user agents, such as screen readers.

Do not use `aria-label`. Tools for automatic translation often [do not translate its value](https://adrianroselli.com/2019/11/aria-label-does-not-translate.html), and it may get overlooked when doing manual translation.

0 comments on commit 21dd869

Please sign in to comment.