Closed Th3Whit3Wolf closed 1 year ago
Good catch! aria-hidden
is not a Rust identifier since it has a -
in it, so the parser is failing to consider it. I already have a parse schema for CSS class names, so it should be fairly straight-forward to add it for attributes.
Made a patch release for this: 0.7.1
It doesn't seem possible right now to add ARIA properties or states (i.e.
aria-hidden="true"
oraria-disabled="true"
).