mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 17:35:54 +03:00
[GH-ISSUE #263] Flags are not working in high contrast mode #174
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rak- on GitHub (Jun 22, 2016).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/263
@lipis Flags are not working in any of system default high contrast mode.Can you please fix it as soon as possible,it is needed in our project for accessibility.
@lipis commented on GitHub (Jun 22, 2016):
Oh noooo!! I'm right on it.. I'll be away for a while buying all the systems with high contrast mode, but afterwards I'll fix all of them as soon as I can... When is your deadline?! How much time do I have to fix the flags?!
@tomlutzenberger commented on GitHub (Jun 22, 2016):
I seriously wonder how this is even supposed to work...
High contrast modes are always associated with color reduction.
@Rak- How about a screenshot or something?
You can't just drop a line with almost no information and expect that it get fixed.
@lipis commented on GitHub (Jun 22, 2016):
I'm already fixing it.. :P
@Rak- commented on GitHub (Jun 22, 2016):
@tomlutzenberger here you find the attachment of sample page

@Rak- commented on GitHub (Jun 22, 2016):
@lipis below code may help you in fixing this issue please find the below mention sample code
@media screen and (-ms-high-contrast: active) {
/need to add class name with backround images over here/
.flag-icon-ad {
background-image: url(../../../../images/oneprofile/flags/4x3/ad.svg);
}
}
@media screen and (-ms-high-contrast: black-on-white) {
/need to add class name with backround images over here/
.flag-icon-ad {
background-image: url(../../../../images/oneprofile/flags/4x3/ad.svg);
}
}
@media screen and (-ms-high-contrast: white-on-black) {
/need to add class name with backround images over here/
.flag-icon-ad {
background-image: url(../../../../images/oneprofile/flags/4x3/ad.svg);
}
}
If possible need this fix bye 27 of this month,
@tomlutzenberger commented on GitHub (Jun 22, 2016):
I doubt that "fixing" this is possible. Because there is nothing to fix.
High contrast mode means color reduction.
After enabling, in most cases 2-4 colors are left to display.
No colors = no flags.
@lipis commented on GitHub (Jun 22, 2016):
@Rak- No problem man.. I'll make all flags black and white only for you by 25th of this month.. anything else?! Maybe you also need some help with other parts of the project like in this issue #262..
@Rak- commented on GitHub (Jun 22, 2016):
@lipis not required issues #262.
Thanks for your time. If possible please give it on 24 of this month,
@lipis commented on GitHub (Jun 22, 2016):
@Rak- Jokes aside.. nobody will do anything! There is no point of having black/white flags.. if you really need it.. good luck!