open a window without onclick or onfocus

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris

    #1

    open a window without onclick or onfocus

    Hi,

    I use the javascript within dreamweaver to open a small window with an
    "onclick" bit of JS.

    Due to WAI Level 3 requirments I need to open a wind on command
    without using onclick or onfocus....any ideas.

    CF
  • DU

    #2
    Re: open a window without onclick or onfocus

    chris wrote:
    [color=blue]
    > Hi,
    >
    > I use the javascript within dreamweaver to open a small window with an
    > "onclick" bit of JS.
    >
    > Due to WAI Level 3 requirments I need to open a wind on command
    > without using onclick or onfocus....any ideas.
    >
    > CF[/color]

    Where do you see that? WAI guidelines? WAI techniques? WAI checkpoints?
    Please post an url.

    DU

    Comment

    • kaeli

      #3
      Re: open a window without onclick or onfocus

      In article <14228f2.040208 1225.2b481a9c@p osting.google.c om>,
      lootads@yahoo.c o.uk enlightened us with...[color=blue]
      > Hi,
      >
      > I use the javascript within dreamweaver to open a small window with an
      > "onclick" bit of JS.
      >
      > Due to WAI Level 3 requirments I need to open a wind on command
      > without using onclick or onfocus....any ideas.
      >
      > CF
      >[/color]

      Where did you see that in the WAI?
      News to me...

      --
      --
      ~kaeli~
      Suicide is the most sincere form of self-criticism.



      Comment

      • kaeli

        #4
        Re: open a window without onclick or onfocus

        In article <14228f2.040208 1225.2b481a9c@p osting.google.c om>,
        lootads@yahoo.c o.uk enlightened us with...[color=blue]
        > Hi,
        >
        > I use the javascript within dreamweaver to open a small window with an
        > "onclick" bit of JS.
        >
        > Due to WAI Level 3 requirments I need to open a wind on command
        > without using onclick or onfocus....any ideas.
        >
        > CF
        >[/color]

        Oh, assuming this is some requirement, try onkeydown AND onclick. That
        should work if someone uses the mouse or if they hit a key to simulate a
        mouse click.
        I can't imagine a browser, even one for special needs people, that
        didn't implement onClick (even if it were fired from a key), though.

        --
        --
        ~kaeli~
        He had a photographic memory that was never developed.



        Comment

        • Jeff North

          #5
          Re: open a window without onclick or onfocus

          On Mon, 9 Feb 2004 08:45:17 -0600, in comp.lang.javas cript kaeli
          <tiny_one@NOSPA M.comcast.net> wrote:
          [color=blue]
          >| In article <14228f2.040208 1225.2b481a9c@p osting.google.c om>,
          >| lootads@yahoo.c o.uk enlightened us with...
          >| > Hi,
          >| >
          >| > I use the javascript within dreamweaver to open a small window with an
          >| > "onclick" bit of JS.
          >| >
          >| > Due to WAI Level 3 requirments I need to open a wind on command
          >| > without using onclick or onfocus....any ideas.
          >| >
          >| > CF
          >| >
          >|
          >| Oh, assuming this is some requirement, try onkeydown AND onclick. That
          >| should work if someone uses the mouse or if they hit a key to simulate a
          >| mouse click.
          >| I can't imagine a browser, even one for special needs people, that
          >| didn't implement onClick (even if it were fired from a key), though.[/color]

          Dreamweaver 508 Accessibility Error
          Scripts should be accessible [WCAG 6.3, 8.1 P1] --- The "INPUT'
          element has an event attribute ('ONCLICK'): check its accessibility.

          http://www.w3.org/TR/WCAG10-HTML-TECHS/#link-accesskey

          ---------------------------------------------------------------
          jnorth@yourpant sbigpond.net.au : Remove your pants to reply
          ---------------------------------------------------------------

          Comment

          • kaeli

            #6
            Re: open a window without onclick or onfocus

            In article <pklg20pad9v5i0 oks850pbutf48b6 uknmb@4ax.com>,
            jnorth@yourpant sbigpond.net.au enlightened us with...
            [color=blue][color=green]
            > >| Oh, assuming this is some requirement, try onkeydown AND onclick. That
            > >| should work if someone uses the mouse or if they hit a key to simulate a
            > >| mouse click.
            > >| I can't imagine a browser, even one for special needs people, that
            > >| didn't implement onClick (even if it were fired from a key), though.[/color]
            >
            > Dreamweaver 508 Accessibility Error
            > Scripts should be accessible [WCAG 6.3, 8.1 P1] --- The "INPUT'
            > element has an event attribute ('ONCLICK'): check its accessibility.
            >[/color]

            Wow. I learn something new every day.

            Someone else says use both onclick and onkeydown.
            http://www.w3.org/TR/WCAG10-HTML-TEC...ssible-scripts

            Cool. Thanks.

            --
            --
            ~kaeli~
            A lot of money is tainted - It taint yours and it taint mine.



            Comment

            • chris

              #7
              Re: open a window without onclick or onfocus

              kaeli <tiny_one@NOSPA M.comcast.net> wrote in message news:<MPG.1a915 8656e422802989b e9@nntp.lucent. com>...[color=blue]
              > In article <14228f2.040208 1225.2b481a9c@p osting.google.c om>,
              > lootads@yahoo.c o.uk enlightened us with...[color=green]
              > > Hi,
              > >
              > > I use the javascript within dreamweaver to open a small window with an
              > > "onclick" bit of JS.
              > >
              > > Due to WAI Level 3 requirments I need to open a wind on command
              > > without using onclick or onfocus....any ideas.
              > >
              > > CF
              > >[/color]
              >
              > Where did you see that in the WAI?
              > News to me...
              >
              > --[/color]


              =============

              Level 3 requirement section 9.5

              "Provide keyboard shortcuts to important links (including those in
              client-side image maps), form controls, and groups of form controls."

              This means no "onclick" events without another way to achive the
              effect without a mouse.

              Comment

              Working...