Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add IDs to more <dfn>s #3502

Open
michaelficarra opened this issue Nov 27, 2024 · 1 comment
Open

add IDs to more <dfn>s #3502

michaelficarra opened this issue Nov 27, 2024 · 1 comment

Comments

@michaelficarra
Copy link
Member

Most, if not all, <dfn>s would benefit from being able to browse references using the references pane. Unfortunately, the references pane is only enabled for <dfn>s that are given an id attribute, which many currently lack. We should go through and add IDs to any that are reasonable.

example references link on mouseover

example references pane

@bakkot
Copy link
Contributor

bakkot commented Nov 27, 2024

Or possibly all of them.

I think the main harm is in links only going the containing clause, where in many cases the definition only occurs several sentences or paragraphs in to the clause.

tc39/ecmarkup#555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants