-
Notifications
You must be signed in to change notification settings - Fork 461
Description
🐛 Bug Report
The Placeholder text is not adopting to the Text Spacing,
Low vision user or dyslexic user who apply text spacing to read the content will be impacted as user will not be able to understand the content/ information present on the page.
💻 Repro or Code Sample
Pre-requisites to enable text spacing:
- Go to - https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en.
- Click on ‘Add to Chrome’ button.
- After adding, you should find Stylus icon on the browser tool bar, click it to open drop down menu.
- Select ‘Manage Styles’ from the menu.
- On the manage styles screen, click on ‘Create new Style’.
The New style screen would open, here give a suitable name for your new style, e.g. ‘text spacing’.
Add following CSS under ‘Code’ field –
-
{
line-height: 1.5! important;
letter-spacing: 0.12em !important;
word-spacing: 0.16em !important;
}
p {
margin-bottom: 2em !important;
}
Click on ‘Save’.
https://fluentui-blazor-v5.azurewebsites.net/TextArea
Repro-steps:
- Open URL: TextArea - FluentUI Blazor Components in latest edge browser.
- Press tab key to reach till "ImmediateDelay' (Example tab).
- Apply stylus tool on page.
- Verify whether placeholder text is adopting to the Text Spacing or not.
🤔 Expected Behavior
On applying text spacing tool placeholder text should adapt to text spacing.
😯 Current Behavior
The Placeholder text is not adopting to the Text Spacing
The.Placeholder.text.is.not.adopting.to.the.Text.Spacing.mp4
💁 Possible Solution
🔦 Context
Low vision user or dyslexic user who apply text spacing to read the content will be impacted as user will not be able to understand the content/ information present on the page.
On applying text spacing tool placeholder text should adapt to text spacing.
🌍 Your Environment
- OS & Device: Windows 11 Enterprise Insider Preview Version 24H2(OS Build 26100.4061)
- Browser Edge Version: 136.0.3240.76 (Official build) (64-bit)
- .NET Version 9.0.3 and Fluent UI Blazor library Version 5.0.0-alpha.1+69a52a2b
