Closed (won't fix)
Project:
Drupal voor Gemeenten
Version:
7.x-1.x-dev
Component:
Theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Sep 2014 at 12:01 UTC
Updated:
8 Sep 2016 at 09:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dennis cohn commentedWe will change all font sizes into em or % in our next release.
Comment #2
dennis cohn commentedComment #3
frankschaap commentedThe last word on WCAG compliant text resizing is here: http://www.bitvtest.eu/articles/article/lesen/zoom-and-text-resizing.html
Comment #4
BarisW commentedComment #5
mbroere commentedComment #6
mbroere commentedFont sizes are now in px's and rems. Browsers that doesn't support rems use the px fallback.
HTML font size is set to 10px (html {font-size:62,5%}), so we can actually use rems. Body font size is set to 16, so it is default again.
Line heights are set to %.
Comment #7
askibinski commented@bskibinski can you take a look at this?
Comment #8
bskibinskion it, changing to ems
Comment #9
bskibinskiAttached patch that converts most pixels to EM for font-sizes (some font-sizes are set in pixels because of image dimensions, so i left these alone).
Furthermore I did a big cleanup of the entire theme:
I've tested a lot of screens in DVG and there shouldn't be any differences. This patch should only improve accessibility and modernize/cleanup the theme, but it shouldn't effect the theme visually.
Comment #10
askibinski commentedDennis, could you take a look at this sometime?
Comment #11
askibinski commentedDiscussed this, and while the patch and issue or valid points, there is a major backwards compatibility issue:
Many sites use the dvg theme as a base theme, and this patch would break a lot of existing sites.
(bytheway: this is exactly the reason why Drupal 8 has chosen to create a "stable" theme which is never touched and on which you can always depend on.)
However, there is now active development in the DvG abc theme. DvG abc is the recommended startertheme (no need for a base theme) to use for DvG projects.
I have updated the documentation page about these 2 approaches.