Skip to content

experimental: generate meta for html and aria attributes #5149

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

Merged
merged 4 commits into from
Apr 21, 2025
Merged

Conversation

TrySound
Copy link
Member

@TrySound TrySound commented Apr 20, 2025

Here added lists of attributes from html and aria specifications for future Element component.

Html provides an easy to navigate table with all types with relations to specific tags and descriptions.

Aria list with types is extracted from aria-query library. Though descriptions are parsed from specification. In the future we will use more aria-query data to navigate specific roles.

All attributes types are tested with react types

You can see generated data in

  • packages/html-data/src/generated/attributes.ts
  • packages/html-data/src/generated/aria.ts

Succeeds #2341

Here added lists of attributes from html and aria specifications
for future Element component.

Html provides an easy to navigate table with all types with relations
to specific tags and descriptions.

Aria list with types is extracted from aria-query library.
Though descriptions are parsed from specification.
In the future we will use more aria-query data to navigate specific
roles.
@TrySound TrySound requested a review from kof April 20, 2025 17:24
@TrySound TrySound merged commit 87312f8 into main Apr 21, 2025
21 checks passed
@TrySound TrySound deleted the attributes branch April 21, 2025 06:13
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