Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Add a
description
key to theme.json
style variations.
This changeset adds `description` to `VALID_TOP_LEVEL_KEYS` in `class-wp-theme-json.php` to allow for accessibility improvements. The description is added to the ARIA label of the style variation container. If the style variation has no description, only the title is used. One purpose is to use the text description to improve the style variation preview in the WordPress.org theme directory. See WordPress/gutenberg#45242. Props ramonopoly, poena. Fixes #58614. --Cette ligne, et les suivantes ci-dessous, seront ignorées-- M trunk/src/wp-includes/class-wp-theme-json.php git-svn-id: https://develop.svn.wordpress.org/trunk@56041 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information