WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: nobr

for

From: Penny Roberts
Date: Dec 6, 2005 10:20AM


Jukka K. Korpela wrote:
> On Tue, 6 Dec 2005, Penny Roberts wrote:
>
>> Leaving aside the fact that <nobr> is not valid
>
>
> It is not valid when DTDs defined by the W3C are used. It is valid if
> you use a suitable DTD; see
> http://www.cs.tut.fi/~jkorpela/html/nobr.html#valid

Thanks, I'll bookmark that.

> It could. So could lack of it. When a string is broken into two lines in
> an appropriate way, it can be difficult to many and impossible to some
> to recognize the intended meaning. For example, if the string "-42",
> where the hyphen is meant to act as a minus sign, is broken into "-" and
> "42", difficulties arise.

From your article I gather that inappropriate line/word division is an
IE (and older Opera) bug. Does anyone know whether it is in the IE7 fix
list? (I don't recall seeing it on Chris Wilson's list of "bang your
head on the desk" bugs.) Is Opera 8 better behaved?


> for clarity and helps people with cognitive disabilities. Therefore, the
> idea of forcing two fields to stay on one line is very questionable. On
> the other hand, it might be a good idea to try to ensure that the label
> and field are on the same line. They should normally be so short that
> this should not be a problem.

I think that it will be to glue together label, field and submit button
so it seems that it will be an acceptable use.

Thanks for the reply, that helps a lot.

Penny