Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Show "Skip to content" link when focused. In base.css add
a#skipnav:focus{
position:static;
}
Comments
Comment #1
Everett Zufelt CreditAttribution: Everett Zufelt commentedI'm not sure how this is handled, if at all, now. But, you might wish to look at the Drupal 7 core themes for guidance, which all should be using a uniformed method.
Comment #2
gmclelland CreditAttribution: gmclelland commentedThe new drupal.org does this, just try tabbing. You will see the "Skip to content" link appear. The link is hidden other wise.
I got the technique from http://www.slideshare.net/heatherwoz/designing-accessible-drupal-themes.
I tested this in my tao sub theme and it works great.
Comment #3
Everett Zufelt CreditAttribution: Everett Zufelt commentedI should have been more clear, not sure if / how this is handled in this theme. The Drupal 7 Core themes are all using a uniformed method that has been tested.
Comment #4
gmclelland CreditAttribution: gmclelland commentedperhaps this article might help
http://openconcept.ca/blog/mgifford/accessibility_drupal_6_themes_invisi...
Comment #5
gmclelland CreditAttribution: gmclelland commentedHere is some more reading on the subject:
http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
http://adaptivethemes.com/using-css-clip-as-an-accessible-method-of-hidi...
Comment #6
seutje CreditAttribution: seutje commentedthe focus style is defined in system.base.css (http://drupalcode.org/project/drupal.git/blob/refs/heads/7.x:/modules/sy... line 220 and on)
tao strips this css file out
seems to be some duplicate definitions going on here:
Tao's base.css line 10 and on:
Tao's drupal.css line 78 and on:
I'd suggest removing the definition from base.css and copying over the :focus and :active definitions from system.base.css