Closed
Description
openedon Sep 17, 2024
Description
Follow-up to #64351
Under a viewport height of 550 pixels, the metaboxes area container now turns into a <details>
element. See
gutenberg/packages/edit-post/src/components/layout/index.js
Lines 209 to 226 in 6b7345f
As reported on #64351 (comment) by @joedolson a <details>
element isn't ideal in this case. Basically it should not be used for sections of content that need a heading to identify the section. Also, it should not be used for accordion-like UIs. Rather, an expandable section with a heading 'Meta Boxe' should be used instead.
Step-by-step reproduction instructions
- Activate a plugin that adds a metabox e.g. Yoast SEO.
- Edit a post.
- Emulate a viewport height that is smaller than 550 pixels.
- Observe the metaboxes area turns into a
<details>
element.
Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done