A11Y: Placeholder in UI5 TextArea
Describe the bug A clear and concise description of what the bug is.
To reproduce Steps to reproduce the behavior:
- Go to instance
- click goal card go to goalDetail page
- Apply text spacing CSS through the "stylus" browser extension
- click Create Activity button
- Verify the textArea placeholder for text spacing.
How to use stylus: Apply Text spacing settings through "Stylus" browser extension Follow the instructions from here - https://wiki.wdf.sap.corp/wiki/display/Acc/ACC-283+Details#ACC283Details-TestMethods
Isolated example https://qacand.lab-rot.ondemand.com/sf/goals?bplte_company=TALH2TGMM1&_s.crb=twWKZOdgcpej8n8NqZh%252fzjwdeC9DDCPUahgy4Q%252b5%252bkE%253d#/goal-detail?targetUserId=cgrant1&templateType=tgm&templateId=777&id=21169
Expected behavior TextArea placeholder should adapt the text styling. Screenshots If applicable, add screenshots to help explain your problem.
Context
- UI5 Web Components version
- OS/Platform: {...}
- Browser (if relevant): {...}
- Other information: {...}
Affected components (if known)
Log output / Any errors in the console
{...}
Organization: (if applicable)
Priority: (optional) (Low, Medium, High or Very High)
Setting priority would indicate the importance of the issue and would help the process of dispatching and processing.
To set the appropriate priority, you need to consider the impact and if the issue:
- Breaks entire application or system - High and Very High
- Is accessibility one (Screan Reader, Keyboard Handling) - Medium and High
- Is functional one and makes a single component unusable - Medium and High
- Is visual, styling one - Low and Medium
Note: the priority would be re-evaluated by the issue processors, according to the project internal criterias
Business impact: (mandatory for "Very High")
Hello @JosephineSu
Basically the tool applies the following CSS to apply letter spacing right?
* { line-height:1.5 !important; letter-spacing:0.12em !important; word-spacing:0.16em !Important; }
Hello @SAP/ui5-webcomponents-topic-rl this is for you.
Some global styles for letter spacing are not applied to the TextArea value and placeholder, in this case the following three CSS props:
html { line-height:1.5 !important; letter-spacing:0.12em !important; word-spacing:0.16em !Important; }
This is not really a bug, normally customizing with global css is not enabled by default, but we try to make components customizable as much as possible.
So, try to set some initial/default values of the following CSS props word-spacing, letter-spacing, line-height on the TextArea host and inherit them in the internal elements so they apply to the placeholder and value texts, if possible.
Hi @ilhan007 May I know when will this enhancement can be added in UI5-WC?
Hi @JosephineSu the enhancement is not planned yet, so we can't give an estimate. The label "approved" means that we will eventually do it and when we label the issue with "Planned" you can expect a change to the master within 2 weeks period and Release Candidate release after 2 more weeks (if you use RC versions) or immediately if you are wiling to use the "preview" versions (like 0.0.0-hash).
BR, ilhan
Got it, thanks!
Hi @ilhan007 , This refactor didn't apply in V1.0.0-rc.12, neither in v./0.29.x. Please take a look. Thanks a lot.

Fix is released with 0.29.14