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
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
[Icons] Improve aria attributes rendering
Fix: #1796
* Convert aria boolean values to "true/~~false~~" strings (as previously done in TwigComponent)
* Fix aria-hidden is added when source icon contains aria label
* Add pre-rendering filter chain in IconRenderer (internal)
Update:
After discussion in this issue, i suggest we keep the current behaviour: "boolean false removes an attribute"
| Attribute \ Value | true | false | "true" | "false" |
| - | - | - | - | - |
| required | required | | required="true" | required=false" |
| aria-required | aria-required="true" | | aria-required="true" | aria-required="false" |
So just something to ease the DX but that let the developer responsible of setting a correct value.
Commits
-------
aeded4a [Icons] Improve aria attributes rendering
0 commit comments