Closed dougwollison closed 5 hours ago
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot
label.
If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
Co-authored-by: dougwollison <dougwollison@git.wordpress.org>
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.
What?
Allows the Details block to use it's summary attribute as the block label by default, similar to the Heading block.
Why?
The Details block has a viable attribute to use as the default label, and in use cases where there are dozens on a page, it makes the List View more usable.
How?
Defines custom __experimentalLabel handler to the Details block. Unsure if the accessibility label should be prefixed with "Details. " or not, tried to match the approach of the Heading block.
Testing Instructions