Closed cedx closed 3 years ago
When I add a role attribute to an element, this attribute never appears in the final HTML. View template:
role
<a href="#" role="button">Hello folks!</a> <div class="alert" role="alert">Caution!</div>
Rendered HTML:
<a href="#">Hello folks!</a> <div class="alert">Caution!</div>
Using coconut.ui 0.11.2 with coconut.vdom 0.8.1.
coconut.ui
coconut.vdom
Hmm, yeah, seems there's officially only a role attribute, but no corresponding property, but Chrome et al. support it.
When I add a
role
attribute to an element, this attribute never appears in the final HTML. View template:Rendered HTML:
Using
coconut.ui
0.11.2 withcoconut.vdom
0.8.1.