-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix some accessibility issues #23
base: develop
Are you sure you want to change the base?
Conversation
- fix footer p - add HTML5 structure and ARIA landmarks
After #4f990f1, fix margin of p elements.
enhance screenreader experience with VoiceOver
maj theme
- add an aria-label for the button - add aria-expanded
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.
Thanks for this PR, but can the CSS be added to the SCSS and recompiled rather than in the custom.css file?
I'm not proficient enough to do that unfortunately. I used the custom css because it was easier for me. I don't now how to use SCSS :/ |
|
||
<nav class="dropmenu animated"> | ||
<div id="header" class="section"> | ||
<div class="container {{ grid_size }}"> |
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.
Why did you remove the sections and renamed those to div? Does it has a specific reason?
<div class="container {{ grid_size }}"> | ||
<div class="navbar"> | ||
<header class="navbar-section logo" role="banner"> | ||
<h1 class="navbar-section logo"><a href="{{ home_url }}" class="navbar-brand mr-10">{% include('@images/grav-logo.svg') %}</a></h1> |
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 do not recommend to use h1 here, as this completely breaks search engine optimization (seo).
No description provided.