Don't use a details element for the metaboxes area #65406
Labels
[Feature] Meta Boxes
A draggable box shown on the post editing screen
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Post
/packages/edit-post
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
Follow-up to #64351
Under a viewport height of 550 pixels, the metaboxes area container now turns into a
<details>
element. Seegutenberg/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
<details>
element.Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: