-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor accessibility improvements #46
base: main
Are you sure you want to change the base?
Conversation
* better color contrasts for links when "contrasted colors is activated) * add some titles on links containing only an icon * add some alt on img * add some aria- attributes on mobile toggle button
delete lock file wrongly introduced in previous commit
assets/css/custom.css
Outdated
@@ -48,6 +48,13 @@ $accessible-gray-column-color: $gray-column-color; | |||
background-color: $accessible-neutral-color; | |||
} | |||
|
|||
.accessible-colors .navbar-default .navbar-nav>li>a{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contrast can be enhanced for the non-accessible colors too: suggesting to move this to main.css
, without .accessible-colors
selector. The color can be more contrasted too, e.g. #“666
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree: I thought that maybe you would not accept to change the main colors, but indeed it will be better that way!
color: #707070; /* Grey */ | ||
} | ||
|
||
.accessible-colors{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit of difficulty, as default accent color (#f98012
) is a brand color. Anyway, a step in a good direction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please make the suggested change for the navbar default color?
Very good tip! Thank you. |
+ gitignore hugo_build.lock
Requested change done. |
Hello !
There was some accessibility issues in your website, even when "contrasted colors" was active. this PR will correct it.
detailed changes :
nb : I invite you to install WAVE Browser Extensions https://wave.webaim.org/extension to test in one click you're website accessibility.
Have a nice day ! ;)