-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Patterns: Add descriptions to user-created patterns #55244
Comments
@youknowriad how would you see this best reconciling for patterns, related to the ongoing consolidation efforts in #57049 |
I'm going to be working on the excerpt field soon to show it similarly in site and post editors. If the post type supports excerpts then it will show up. |
This PR #57096 adds the excerpt panel to the site editor. So if we enable excerpt support for |
@carolinan do you mind taking that? 🙇 |
Adding the excerpt support is easy enough, but I found a bug with the Site Editor Pattern screen. There is a regression where there is no way for a screen-reader to actually read out the description to the user, no matter if "grid" or "list" is selected. |
The purpose is to enable using the excerpt as a description for user-created patterns on the Site Editor Pattern screens. This commit backports the original PR from Gutenberg repository: * [[https://github.com/WordPress/gutenberg/pull/60549|#60549: [Data Views] User patterns: Use excerpt as description]] Reference: [[https://github.com/WordPress/gutenberg/issues/55244|#55244: Patterns: Add descriptions to user-created patterns]]. Follow-up to [44146], [44150], [50835], [56030]. Props poena, ntsekouras, krupalpanchal. Fixes #61250. git-svn-id: https://develop.svn.wordpress.org/trunk@58184 602fd350-edb4-49c9-b593-d223f7449a82
The purpose is to enable using the excerpt as a description for user-created patterns on the Site Editor Pattern screens. This commit backports the original PR from Gutenberg repository: * [[https://github.com/WordPress/gutenberg/pull/60549|#60549: [Data Views] User patterns: Use excerpt as description]] Reference: [[https://github.com/WordPress/gutenberg/issues/55244|#55244: Patterns: Add descriptions to user-created patterns]]. Follow-up to [44146], [44150], [50835], [56030]. Props poena, ntsekouras, krupalpanchal. Fixes #61250. Built from https://develop.svn.wordpress.org/trunk@58184 git-svn-id: http://core.svn.wordpress.org/trunk@57647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
The purpose is to enable using the excerpt as a description for user-created patterns on the Site Editor Pattern screens. This commit backports the original PR from Gutenberg repository: * [[https://github.com/WordPress/gutenberg/pull/60549|#60549: [Data Views] User patterns: Use excerpt as description]] Reference: [[https://github.com/WordPress/gutenberg/issues/55244|#55244: Patterns: Add descriptions to user-created patterns]]. Follow-up to [44146], [44150], [50835], [56030]. Props poena, ntsekouras, krupalpanchal. Fixes #61250. Built from https://develop.svn.wordpress.org/trunk@58184 git-svn-id: https://core.svn.wordpress.org/trunk@57647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
What problem does this address?
Pattern descriptions add important information for any user who is not able to see the blocks that are included in a pattern, or any user who needs the information in a different format than the preview.
There is no way for a user to add a description to user-created patterns.
What is your proposed solution?
Perhaps the excerpt field could be re-purposed as a description for this post type.
The text was updated successfully, but these errors were encountered: