Can we make details open automatically when a user navigates to an ID inside it?
Consider the following code on a page https://example.org/:
<details>
<summary>About the author</summary>
<p id="pro">…</p>
<p>…</p>
<p id="family">…</p>
</details>
On another page there’s a link that points to https://example.org/#family. Currently, that link won’t lead a user who clicks on the link to the paragraph with the id="family", although that would be helpful and I can’t imagine – from an author’s or user’s perspective – why it should not.
Can we make details open automatically when a user navigates to an ID inside it?
Consider the following code on a page https://example.org/:
On another page there’s a link that points to https://example.org/#family. Currently, that link won’t lead a user who clicks on the link to the paragraph with the
id="family", although that would be helpful and I can’t imagine – from an author’s or user’s perspective – why it should not.