The <details>
element is searchable in Chrome. In other words, I can have something like this:
<details>
<summary>John Doe</summary>
<div>123 Main Street</div>
<div>Springfield, OK</div>
<div>73000</div>
</details>
Then if I Ctrl+F for “Main Street” Chrome will automatically open the details for me.
However, Firefox doesn’t do this!
How to I get the same behavior in Firefox? Even a custom solution? Basically I want content to be hidden by default, but so I can toggle it open and also use Ctrl+F to find it.