Skip to content

Conversation

@andersk
Copy link
Contributor

@andersk andersk commented Jan 5, 2026

I went through the entire list of HTML elements, attributes, and ARIA attributes in the specification, making all needed additions and fixes, except that <math> is still missing because it will need separate treatment like <svg>.

Here’s a test file I wrote to exercise all of these elements and attributes: https://gist.github.com/andersk/8dd6578d23533ef6ee9a51fdec2b5b8c

@andersk andersk force-pushed the html-types branch 2 times, most recently from 7b7f155 to 16c424d Compare January 5, 2026 03:21
@andersk
Copy link
Contributor Author

andersk commented Jan 5, 2026

Hmm, I wonder if we can merge this with https://github.com/potahtml/namespace-jsx-project.

GitHub
Table listing TypeScript types for `namespace JSX` for many frameworks https://potahtml.github.io/namespace-jsx-project/table/index.html - potahtml/namespace-jsx-project

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@cowboyd cowboyd merged commit 540ed91 into thefrontside:main Jan 5, 2026
1 check passed
@andersk andersk deleted the html-types branch January 5, 2026 22:20
@cowboyd
Copy link
Member

cowboyd commented Jan 5, 2026

@andersk Thanks! That project looks very interesting, and would love to see us generate our types from an exhaustive list.

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.

2 participants