-
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
Editor: Enhance post URL UI #64231
base: trunk
Are you sure you want to change the base?
Editor: Enhance post URL UI #64231
Conversation
a48c6ec
to
b502e95
Compare
Size Change: -105 B (-0.01%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
b502e95
to
7cf488a
Compare
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Thanks for the review! I imagine one use case for copying the permalink would be to embed it in another post, or to make it easier to paste into some other document. Of course, even without this button, users can still copy the permalink in a few ways. In any case, I think the full URL needs to be visible somewhere in the editor. |
I'd like to note there's already a previous PR #63669 which aims to fix #61196. This PR partially overlaps with that pre-existing PR. I'd appreciate some better coordination as submitting multiple PRs for the same issue without coordinating with other contributors doesn't appear to be the best way to collaborate in an open source project. Also, worth noting that after #64053 a long URL / slug is now truncated. I kindly disagree with that change. It defeats the purpose of this UI, which is to show the full URL or slug. #63669 removes the truncation. |
Fixes #61196, #63700
Related to #63669, #63706
What?
This PR improves the labels and layout of the post URL UI so that all text, fields, and buttons convey their exact meaning.
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Make sure that your screen reader announces the appropriate information when a button or input field receives focus or a popover is opened.
Screenshots or screencast
Permalink Structure: Plain
Permalink Structure: Month and name
Permalink Structure: Post name
Reading text with NVDA
d851654314d689c318d787c8362b7e71.mp4
Note
When merging this PR, please remember to include in the props all the contributors who worked on solving similar issues: