Skip to content

Accessibility issues #10

Description

@cadars

display: none;

Basically, display:none isn't recommended, it's better to use another technique.

Without using exotic properties like clipand clip-path, I have found this to be enough for this case (I'm planning to use it for the john-doe template:

section, section:target ~ section:last-of-type {
  height: 0;
  overflow: hidden;
}

section:target, section:last-of-type {
  height: auto;
  overflow: visible;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions