Skip to content
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

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open

Fix some accessibility issues #23

wants to merge 17 commits into from

Conversation

luce-carevic
Copy link

No description provided.

Copy link
Member

@rhukster rhukster left a 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?

@luce-carevic
Copy link
Author

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 }}">
Copy link
Contributor

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>
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants