Skip to content

Conversation

@jjalbuenacabuyao
Copy link

Fixes an accessibility issue on body-medium and body-small line heights. According to criterion 1.4.12 of WCAG 2.1, line height (line spacing) must be least 1.5 times the font size. To meet the criterion, body-medium line height is set to 22px (1.375rem) and body-small line height is set to 18px (1.125rem).

Ref: https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html

Fixes #31176

…ccessible

Fixes an accessibility issue on body-medium and body-small line heights.
According to criterion 1.4.12 of WCAG 2.1, line height (line spacing)
must be least 1.5 times the font size. To meet the criterion,
body-medium line height is set to 22px (1.375rem) and body-small
line height is set to 18px (1.125rem).

Ref: https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html

Fixes angular#31176
@jjalbuenacabuyao jjalbuenacabuyao requested a review from a team as a code owner June 2, 2025 13:48
@jjalbuenacabuyao jjalbuenacabuyao requested review from crisbeto and mmalerba and removed request for a team June 2, 2025 13:48
@crisbeto crisbeto requested a review from andrewseguin June 2, 2025 13:59
@mmalerba mmalerba removed their request for review June 2, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(typography): body-medium and body-small line heights are not accessible

1 participant