You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first, I thought this was going to be related to the kebabCase function in hast-util-to-babel-ast. However, it works as expected in isolation. It's usage here also does not produce the problem. Unless I'm missing something, I'm beginning to suspect this has something to do with babel types.
Unfortunately, I have little experience with typescript/flow, so that stalled my progress. If anyone else would like to pick this up, please feel free to do so!
🐛 Bug Report
aria-labelledby
attributes are incorrectly kebab cased (extra hyphen) asaria-labelled-by
.To Reproduce
Include an
aria-labelledby
attribute in an<svg>
tag.Expected behavior
An
<svg>
tag with anaria-labelledby
attribute should be returned.Link to repl or repo (highly encouraged)
Please provide a minimal repository on GitHub.
Here's a link to where the issue was discovered.
Here's a link to a repo with the bug in action.
This bug can also be reproduced in the playground by roughly following the steps in the first link above.
For example, in the playground the following input,
returns this output:
Environment
The text was updated successfully, but these errors were encountered: