Text Size
This module display a adjustable text size changer or a zoom function on the page for a better web accessibility.
The zoom function is comparable to the text zoom function in Firefox 3, but this module resize also variable media objects, variable pixel images and vector images.
Advantages compared with browser zoom
- Adjustable. Increases/decreases step, minimum, maximum, standard and variable or three fixed values.
- Resize region definable. For example a element with a ID "content":
<div id="content">CONTENT</div>
. - Browser independent.
- One click function. No tutorial required.
- Same handling in any browser (shortcuts).
- Resize text, variable images and media objects (media objects and pixel images with "em" or "%" size specification and SVG images).
- Select menu availabe.
- Display current text size (zoom size).
Características
- WCAG and BITV conform. More Information on: Web Content Accessibility Guidelines and Barrierefreie Informationstechnik-Verordnung. Keep the conditions:
- WCAG/BITV 1.1: Short text equivalents for images.
- WCAG/BITV 3.1: Standard links with text without images in the source code.
- WCAG/BITV 6.3: No JavaScript required.
- WCAG/BITV 11.1: Open and standard code.
- WCAG/BITV 13.6: Links in a list.
- No JavaScript required. jQuery suppport.
- No CSS required.
- Minimum and maximum text size.
- Caching mode: "Normal" and "Aggressive" compatible.
- Uniform markin of menu, based on the open source browser Firefox 2.0 (Mozilla Firefox).
- Tipo de bloque: Enlaces de texto [1], Enlaces de imagen [2], Seleccionar menú.
- Themable.
[1] Images are showed with CSS. Ideal for Web Accessibility.
[2] No Link text, only images in the XHTML source code with standard 0 pixel margin. Advertencia: Not for: WCAG/BITV 3.1! If JavaScript is not activated: No image change action if the cursor move over the images!
Requisitos
- Drupal 7.
- Theme or a theme region with font sitze "em", "%" or no sitze for the Internet Explorer browser.
Opciones
- Go to: "Administrar", "Configuration and modules", "Personas y permisos", "Permisos" ("admin/config/people/permissions#module-textsize"). Set the different roles.
- Go to: "Administrar", "Estructura", "Bloques" ("admin/structure/block"). Make the block "Text Size" visibile.
- Go to: "Administrar", "Configuración del sitio", "Autoría del contenido", "Text Size configuration" ("admin/config/content/textsize"). Change the settings if you want.
- Go to: "Administrar", "Construcción del sitio", "Traducir interfaz", "Importar" ("admin/config/regional/translate/import"). Import your language file (for German "sites/all/modules/contrib/textsize/translations/de.po") if it is necessary.
Configuración de tema visual
Create Themes
- Copy the files/directorys in your theme:
- textsize-text.tpl.php
- textsize-image.tpl.php
- textsize-form.tpl.php
- textsize.css
- images
- Edit the PHP and CSS code in the files. Ejemplo: Image links, not in a list: Change the following elements:
<ul>/</ul>to: <p>/</p>
<li></li>to: <span class="display_hidden"> | </span>.
WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Advertencia: Not for: WCAG/BITV 13.6! Links are not in a list. - Edit the PHP templates (tpl.php) and textsize.css file. Ejemplo: Image links, not in a list: Change the following elements:
<ul>/</ul>to: <p>/</p>
<li></li>to: <span class="display_hidden"> | </span>.
WCAG/BITV 10.5: Adjacent hyperlinks have to be separated by printable characters surrounded by spaces. Advertencia: Not for: WCAG/BITV 13.6! Links are not in a list. - Edit the images. Create your own icons. The source file is in the directory: "/images/source/textsize.xcf". PNG images are for new browsers and GIF images for old browsers (Internet Explorer 6).
Download Themes
Edited templates are available from the developers website: Download Themes: Text Size home page