Navbar title color became black
Description
Navbar title color became black. It was white when on the version 6.2.0
- igniteui-angular version: 7.0.2
- browser: Chrome
Steps to reproduce
- Just use the igx-navbar in your component without modifying any theme.
<igx-navbar
[title]="'title'"
actionButtonIcon="menu"
(onAction)="onClickMenu()">
</igx-navbar>
Result
Fore color gets black, which is not contrasty.
Expected result
White fore color.
Attachments
Please see the attached
image.
@gdayori Hi this is the correct contrast color according to the accessibility standards. So this is by design
@SlavUI Please post the contrast coefficients for white and black for reference.
@gdayori there was a bug in the navbar theme resulting in the navbar text color always being white. We have fixed the bug, hence why the resulting text color is now black.
In this case black, according to the accessibility standards, has a contrast ratio of 7:1 against the blue background color (#09f). White, on the other hand, has a contrast ratio of 3:1, which doesn't even satisfy the AA accessibility standard.
You can verify the above here.