Any interest in adding a setting to add a .js class
From the tinynav site:
Note: If you worry how this will work when JS is disabled, then I suggest you to add 'js' class for with JavaScript and use that in CSS when hiding the normal navigation, so that the navigation is still accessible if someone is browsing the site JavaScript disabled. Example:

JavaScript:

$('html').addClass('js');
Styles:

@media screen and (max-width: 600px) {
.js .tinynav { display: block }
.js #nav { display: none }
}

Comments

btopro’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

why is the current setup inaccessible?
1. patch please if you can identify what you mean here
2. if JS isn't enabled then in mobile this just never shows up. They read the normal links so I don't think this is actually accessibility

bradallenfisher’s picture

Closing no time to explain and honestly it was just for like .05% of people out there who don't trust javascript in their browsers.

bradallenfisher’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)