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
Allow aria attributes #2
Comments
Thank you for the issue! Agreed, this is a very important feature the library is lacking and I am currently working on it for the next release. |
Hey @rothsandro, thanks again for the issue. Support for aria attributes was added in v0.0.5 here. Work still needs to be done to better document the type def and restrict possible aria attributes based on the |
@willmartian Thanks 👍 In the following example
|
Oops, that is my bad. Fixed this in v0.0.7 and added a unit test to cover myself in the future. You can find a link of your code snippet working properly here. Thanks again for being an early tester of this project! :) |
Great, looks good now 🎉 Thanks |
Is your feature request related to a problem? Please describe.
hdot should support ARIA attributes to improve accessibility of a site.
Describe the solution you'd like
ARIA Attributes should be supported similar to
data
attributes using camelCase.Describe alternatives you've considered
The only workaround right now is using
[aria-xyz]
which is not a very nice syntax (and no TS support):The text was updated successfully, but these errors were encountered: