Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Menu Accessibility #51

Description

@lynt-smitka

You can improve menu accessibility if you use visually hidden instead of display:none:

@media (max-width: 1000px){
.top-navigation .main-navigation {
display: inline-block;
border-bottom: none;
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
}
}

Reference: https://a11yproject.com/posts/how-to-hide-content/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions