Updates header-default.php group block tagname to div to match markup #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes
Part of my notes on #WDSBT-23.
Link to test
Might need to test this locally. Lab probably isn't using the default header pattern anymore.
Description
Fixed an issue where the header default renders with a broken block out of the box.
The site header is already printed inside of a
<header class="site-header wp-block-template-part">
, so changing it to div seemed best.Mobile & Desktop Screenshots/Recordings
Fixes this:
![image](https://private-user-images.githubusercontent.com/1461585/361554760-e2e07caf-5578-48c6-9742-a47bf54f17bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MzkyNTQsIm5iZiI6MTczODgzODk1NCwicGF0aCI6Ii8xNDYxNTg1LzM2MTU1NDc2MC1lMmUwN2NhZi01NTc4LTQ4YzYtOTc0Mi1hNDdiZjU0ZjE3YmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMTA0OTE0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTJjNjczYWE5YjQzMjE2YTZmNWY1MDNiNGMyZjRjNWY2YWY3NTIzNjk1OGZkZDlhYzFhYmUxNDFkZWI4Yjc2YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.daCo2yZigqW27VIF76qZgYxjnqp0RKoVbKKXuXuVxe8)
Added to documentation?
Added tests?
Testing Instructions
Add the theme to a new site, or reset the header pattern to the default, and confirm that it no longer shows up with invalid content in the editor out of the box.
Reviewer's Testing Checklist
As a reviewer, please verify that the relevant testing criteria are fulfilled and confirmed before approving this Pull Request.
npm run a11y
.[optional] Additional Reviewer Notes or Considerations?