Skip to content

Increase font-size and fix other a11y issues#181

Open
2ndkauboy wants to merge 1 commit intoWordPress:trunkfrom
2ndkauboy:fix/1456-increase-font-size
Open

Increase font-size and fix other a11y issues#181
2ndkauboy wants to merge 1 commit intoWordPress:trunkfrom
2ndkauboy:fix/1456-increase-font-size

Conversation

@2ndkauboy
Copy link

@2ndkauboy 2ndkauboy commented Nov 24, 2023

Trac ticket: #1456


#commentform p {
font-size: 10px;
font-size: 16px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, since this PR hasn’t been merged yet, I wanted to suggest avoiding setting font sizes in pixels, instead opting for rem units (i.e., font-size: 1rem;).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would usually agree. But since the whole CSS for the theme is always using px values for font-size, I would not use relative units for this change.

There is an initiative to create a completely new WordPress.tv theme and in this one relative units will be used.


.commenttext p {
margin-bottom: 1em;
font-size: 16px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants