.NET Editor text is not highlighted when using system High Contrast Theme at docs.microsoft.com
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Accessibility Severity:s2)
Accessibility Severity | s2 |
People
(Reporter: rbucata, Unassigned, NeedInfo)
References
(Blocks 1 open bug, )
Details
(Keywords: access, webcompat:contact-ready)
Environment:
Operating system: Windows 10 x64 PRO
Firefox version: :Firefox Nightly 101.0a1 (2022-04-27) (64-bit)
Preconditions:
Set the High Contrast
option to ON from Windows (shortcut: Left Alt+Left Shift+PrintScreen)
Steps to reproduce:
- Navigate to: https://docs.microsoft.com/en-us/learn/modules/csharp-write-first/2-exercise-hello-world.
- Input text into the .NET editor located in the right-hand side.
- Highlight the text from the editor (select with mouse or CTRL+A).
- Observe the result.
Expected behavior:
The text is highlighted.
Actual behavior:
The text is not highlighted.
Notes:
- Reproducible regardless of the status of ETP.
- Reproducible on the latest build of Firefox Nightly.
- Works as expected using Edge.
- Reproducible on other pages with a built-in .NET editor
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The severity field for this bug is set to S3. However, the accessibility severity is higher, [access-s2].
:dholbert, could you consider increasing the severity?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•11 months ago
|
Updated•21 days ago
|
Comment 2•2 days ago
•
|
||
This is not a Gecko bug. It works in edge because:
@media screen and (-ms-high-contrast: active) {
.monaco-editor.vs .selected-text, .monaco-editor.vs-dark .selected-text {
background-color: highlight !important;
}
}
If they used (forced-colors: active)
instead, it'd work. It doesn't work in Chrome either.
So, we could:
- Support
-ms-high-contrast
as an alias offorced-colors
. - Close this bug as INVALID.
- Move to the webcompat component and contact Microsoft to get their editor updated to use
forced-colors
instead of-ms-high-contrast
.
Given Chrome doesn't support -ms-high-contrast
either, I don't think we should do (1)...
Comment 3•2 days ago
|
||
Leaving a ni for myself to send an email to our mailing list.
Description
•