Closed (fixed)
Project:
Zen
Version:
7.x-5.x-dev
Component:
CSS/SASS/HTML markup
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 May 2011 at 03:11 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
KrisBulman commentedthis patch applies the above changes in STARTERKIT only
Comment #2
KrisBulman commentedComment #3
KrisBulman commentedJust noticed I should have done this in the sass navigation file.. When attempting to approach it, I sadly failed on getting the ruby gem sass installed on my Debian vm. :(
Comment #4
barrapontoKris, you should try using rvm https://rvm.beginrescueend.com/ it helps a lot. Takes some effort to get used, but you can try all gem combinations you can think of (I use it to move from sass/compass betas and stables, and testing out my drupal compass plugin).
Comment #5
barrapontobtw, shouldn't we look for a proper accessibility solution for this? display: none hides things from screen readers as well.
Comment #6
KrisBulman commentedIf the idea is to give the title access to screen readers, then it would work to replace display:none with this
unless there is a better way by adding an element-hidden class to menus that appear in the navigation region.. might be overkill though.
Comment #7
mgiffordActually, better to just use the pre-defined class element-invisible on any item you don't want to appear on the browser, but do want to be visible to assistive technology. See:
http://drupal.org/update/themes/6/7#element-hidden
Comment #9
johnalbinZen now has a element-invisible() mixin in the _custom.scss partial.
Comment #10
johnalbinComment #11
johnalbinThis makes sense.
Comment #12
johnalbinLooks like stripping the .content div from the block.tpl broke this functionality in the interim.
Comment #13
johnalbinFixed. http://drupalcode.org/project/zen.git/commitdiff/7591874
Thanks, Kris!