Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add skip link to block templates (#30336)
* Add skip-link to FSE themes * Add check for null selectors * Allow opt-in to auto-css for the skip-link * Escape things where needed * Add inline comment * This MUST NOT be escaped * Use wp_json_encode * Don't use an anonymous function * Allow multiple skip-links * Update lib/class-wp-theme-json.php Co-authored-by: Timothy Jacobs <timothy@ironbounddesigns.com> * fix should_add_skip_link_styles check after the refactor * make css opt-out * classList.add can add multiple classes at once * Add docs * fix merge conflicts * attempt to simplify previous implementation * more merge-conflicts * No docs tweaks needed * fix link label * This file is irrelevant to this PR * add missing textdomain * Update list of elements to check for * Use gutenberg_supports_block_templates() * Revert "Update list of elements to check for" This reverts commit a6947c4. Co-authored-by: Timothy Jacobs <timothy@ironbounddesigns.com>
- Loading branch information