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

Check for duplicate id attributes in HTML #5326

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

quis
Copy link
Member

@quis quis commented Dec 11, 2024

It’s invalid HTML to have multiple elements with the same id attribute. Plus it can cause trouble for Javascripts, and make anchor linking unpredictable.

@quis quis changed the title Check for duplicate id attributes in HTML Check for duplicate id attributes in HTML Dec 11, 2024
quis added 5 commits December 13, 2024 15:28
It’s invalid HTML to have multiple elements with the same `id`
attribute. Plus it can cause trouble for Javascripts, and make anchor
linking unpredictable.
@quis quis force-pushed the check-for-duplicate-ids branch from e3c4941 to b02ed8f Compare December 13, 2024 15:37
quis added 2 commits December 13, 2024 16:04
Where the table rows don’t need IDs, let’s not show them
@quis quis force-pushed the check-for-duplicate-ids branch from b02ed8f to 1d71e7b Compare December 13, 2024 16:10
@quis quis force-pushed the check-for-duplicate-ids branch from 1d71e7b to a67425b Compare December 13, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant