The issue requires adding a browser-supported attribute to fix search functionality in accordion panels.
The issue involves adding the `hidden='until-found'` attribute to accordion panel content to enable browser search functionality. The solution is straightforward but requires ensuring compatibility across major browsers, which is now feasible as Safari has added support.
This issue came up in the WordPress Online Meetup DACH.
Content in a closed accordion panel is cannot be found via the browser search. It does work in the details block, which opens automatically.
It might make sense to add hidden="until-found" attribute: https://developer.chrome.com/docs/css-ui/hidden-until-found
cmd+FAs you can see, you cannot find the text:
It works in the details block:
No response
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!