Roland Hentschel

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromRoland Hentschel
ToMe
Subjecta menu-script
Date13 November 2007 16:10
Attachmentzip file containing images, fonts, PHP, and JavaScript
hi,

since your site was one of those helping me the most
in several cases, here is a little something in return :-)
my menu is special in so far, as it's using php to create
images from text with true-type-fonts dynamically,
and as for functionality it offers more than most of the
other scripts, that i found during my (extensive) researches.
plus: it's not using large libraries, but a pretty slim code.
it's certainly optimizable, but for now i'm really happy
with it; may be you could trun it into a list-based menu?

( -: roland :- )
FromMe
ToRoland Hentschel
SubjectRe: a menu-script
Date18 November 2007 08:48
Roland,

Thanks for the gesture.

> my menu is special in so far, as it's using php to create
> images from text

I am interested to know about the accessibility aspects of this script. It
seems to rely very heavily on images and JavaScript. What happens if the
user has images disabled (say for example that they use a screen reader, or
a slow connection)? What happens if the user has JavaScript disabled? Can
they still select the text (required for a lot of screen reader software)?

Basically, I find that images used to replace text is almost never a good
idea. I understand some designers demand precise fonts and font stylings,
and I assume that is what this script is for. However, from an accessibility
standpoint, I feel it is better to ignore the designer, and make the page
properly with regular text in semantic HTML, and style it with CSS to make
it pleasing (this can, in most cases, be done in a way the designer can be
made to appreciate). That way it also falls back better, and remains
accessible.


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.