-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix Comments Form Title text alignment #40795
Conversation
Size Change: +65 B (0%) Total Size: 1.23 MB
ℹ️ View Unchanged
|
This mostly works well. I am not sure that using row-reverse for the right align is the best solution: When I test with a screen reader, activating the reply link skips past the cancel reply link inside the H3 heading and directly to the comment text area, so I don't think the row-reverse makes a difference for that use case. |
Thanks for the review @carolinan , I thought the same, let's remove display flex and use native text alignment CSS property. |
fed7a61
to
8fae7a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @c4rl0sbr4v0 and @carolinan!
I cherry-picked this to wp/6.0 branch to be included in WordPress 6.0 RC2 later today ed9df58 |
What?
Fix the alignment of the comment reply title. This appears on Comments Form block.
Complements #40613
Why?
Now when you change the alignment of Post Comments Form block, all its content respects that option.
How?
By updating the flex CSS so it respects the classes added at setting the alignment.
Testing Instructions
1.) Add a posts comment form block in the editor or add a Comment Query Loop, and select the comment form block.
1.) Adjust the alignment from the block tool bar. Duplicate the block and select a different alignment -repeat this for every alignment
Save and view the front.
Confirm if the alignments in the editor and front match the toolbar setting.
Screenshots or screencast
Loom Video