Thanks for the advice regarding accessibility, but I'm making this website
for
my personal use, not for the world at large, so that is not a concern.

If nothing else, this shows some really interesting IE behavior, and it
would be
great to understand better how it works.  I would still appreciate any help
from
the group.

On Thu, Jun 11, 2009 at 6:45 AM, Erik Vorhes <[email protected]> wrote:

> On Thu, Jun 11, 2009 at 1:16 AM, Noel Taylor<[email protected]> wrote:
> >
> > So I thought it would be fun to try to write an event handler that would
> > allow me
> > to produce those letters in the textarea in question by typing ctrl-a,
> > ctrl-e, etc.
> >
> > Of course, browsers already have their own functionality assigned to
> those
> > key
> > combinations.  In IE8 for example, ctrl-a is "select all" and ctrl-o is
> > "file->open".
> >
> > With a lot of research I figured out how to suppress the default
> behaviors
> > for all of
> > the key combinations *except* - and this is the weird part - except for
> > ctrl-o, which
> > triggers a 'file->open' no matter what I do.
> >
>
> You're actually remapping keyboard shortcuts in the operating system.
> (Is there a program in Windows that *doesn't* use ctrl-o for "File >
> Open"?) Please don't do that. It messes with users who primarily
> interact with the browser--and I'm not talking just about "power
> users" or whoever: You're messing with users who rely on screenreaders
> and those who for whatever reason don't use the mouse to navigate the
> UI, among others.
>
> Let me reiterate: Don't do this. Ever.
>
> There are other ways to use the keyboard to add functionality that
> don't at the same time violate basic principles of accessibility. But
> since those don't actually involve CSS for technical information,
> you'll probably want to consult HTML and JavaScript groups instead.
>
> Erik
>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to