Code Monkey home page Code Monkey logo

puppykit's People

Contributors

sandvich avatar

Watchers

 avatar  avatar

puppykit's Issues

Language attribute in html tag

Recommend you add the lang attribute to the html tag

<html lang="en">

So search engines and apps will know what language your page is

Headings not in proper hierarchy

Header tags should be placed in an hierarchical manner without any skips in levels. E.g.

<h1>Page title</h1>
<h2>Content header</h2>
<h2>Content header</h2>
<h3>Nested content header</h3>
<h2>Content header</h2>

Right now there are h3s directly under the h1 which I assume was done for styling purposes. I recommend instead having CSS classes which control the styling of the headers because the style of the header does not necessarily correlate with the header hierarchy.

But what if there's a heading required for hierarchy that I don't want to display visually?

You can do something like this:

.hide-visually{
position: absolute;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
margin: -1px;
padding: 0;
border: 0;
}

<h1 class="hide-visually">Page title that I don't want to show</h1>

This will hide the content visually but make them still accessible to screen readers. Note that using display:none; won't work as screen readers will ignore the text altogether.

Wrong links

Marked for death on the projects page still links to the html, not the directory.
Empyrean traits on the project page links to the github, not the project page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.