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.
In validating a site using http://www.tawdis.net I was alerted to the fact that this module uses fixed font sizes in drupal-tabs.css - the solution I'm proposing is from:
http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/C14
I'd like to see the use of:
font-size: 0.75em;
rather than:
font-size: 12px;
So that text can scale better.
Mike
Comment | File | Size | Author |
---|---|---|---|
#3 | tabs-fixed-font.patch | 273 bytes | mgifford |
Comments
Comment #1
mgiffordJust to add to this a bit, span.clear can also be simplified with font-size: 0;
it's the same effect but makes the validators happier.
Comment #2
nedjoThanks, I'd like to make these changes, provided we can ensure that they don't break anything in any major browser.
Can you please do before and after browser testing and report on the results? Is there any noticeable difference in font size or clearance? A patch file would also be great.
Comment #3
mgiffordI'd really like to, but it's been long enough now that I'm having trouble tracking down where it is used now in that project.
This is the patch I'm proposing in any case. I don't have a good testbed for it to do the browser testing.
Comment #4
nedjoApplied (though I changed it to 1 em, which seemed a better equivalent).
Comment #5
mgiffordBrilliant, thanks!