-
-
Notifications
You must be signed in to change notification settings - Fork 356
[Twig] Handle aria-* attribute boolean values #1709
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
[Twig] Handle aria-* attribute boolean values #1709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WebMamba, any thoughts/objections?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Sound good to me! Thanks @smnandre
Nice bug fix! Thanks Simon. |
d4fe1e0
to
4ac1f61
Compare
This is a BC break for us :D Example from component: Previously these attributes were hidden and now they just rendered as |
@norkunas I'd like to find a coherent solution for both Icon and TwigComponent, fixing the BC (sorry for that) (updated) |
Sorry did not see the other comment ;) |
…dre) This PR was squashed before being merged into the 2.x branch. Discussion ---------- [TwigComponent] Fix aria attribute cannot be removed Handle only "true" (the original need) and restore using false to remove an attribute cf #1709 and #1797 Commits ------- e3e9825 [TwigComponent] Fix aria attribute cannot be removed
Convert aria-* boolean attributes to their expected string values.