[wp-trac] [WordPress Trac] #59688: Add descriptions to patterns in bundled themes

WordPress Trac noreply at wordpress.org
Fri Oct 20 02:09:00 UTC 2023


#59688: Add descriptions to patterns in bundled themes
---------------------------+----------------------------
 Reporter:  poena          |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  6.5
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:  good-first-bug
  Focuses:  accessibility  |
---------------------------+----------------------------
 Patterns have a parameter called "Description". The description is used in
 the WordPress interface, to add context for users that can not see or use
 the pattern preview. For example users of screen readers.

 All patterns without the "Inserter" parameter set to "false" or "no",
 should use the description parameter  (These patterns are hidden in the
 block inserter and do not use the descriptions).

 Patterns in bundled themes that are missing descriptions needs to be
 updated.
 Patterns can be registered using the patterns folder or with
 [https://developer.wordpress.org/reference/functions/register_block_pattern/
 register_block_pattern()] and both type of patterns should be updated.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59688>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list