ui5-button does not allow overriding CSS letter-spacing and word-spacing
Describe the bug Some people use custom spacing in their browser to make the page more readable. This is done using global CSS styles. The ui5-button is not affected by these styles.
To reproduce Steps to reproduce the behavior:
- Go to https://sap.github.io/ui5-webcomponents/playground/components/Button/
- Using devtools, add the following CSS rule to the page:
* {
line-height:1.5 !important;
letter-spacing:0.12em !important;
word-spacing:0.16em !Important;
}
- Notice the custom spacing is applied to all text on the page besides the ui5-button inner text.
Expected behavior According to the SAP accessibility wiki, all text should adapt to custom spacing. (https://wiki.wdf.sap.corp/wiki/display/Acc/ACC-283+Details)
Screenshots

Affected components ui5-button
Organization: SuccessFactors
Priority: Low
Thank you for looking into this.
Hi @ee92
After applying the following styles to the following url(this is the current master branch).
line-height:1.5 !important;
letter-spacing:0.12em !important;
word-spacing:0.16em !Important;
This is the result:
You can see the styles in the upper right corner
The problem is that the deployment of the playground has failed for some time and what you are looking at is not the playground version for rc9
The playground is deployed successfully and the issue is resolved