Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase font-size and fix other a11y issues #181

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

2ndkauboy
Copy link

@2ndkauboy 2ndkauboy commented Nov 24, 2023

Trac ticket: #1456

@@ -1577,7 +1577,7 @@ div.sharedaddy.sd-rating-enabled .sd-like .post-likes-widget, div.sharedaddy.sd-
}

#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.

@@ -1625,6 +1625,7 @@ div.sharedaddy.sd-rating-enabled .sd-like .post-likes-widget, div.sharedaddy.sd-

.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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants