larger radio/checkbox or mapping?

Discussion in 'Javascript' started by oldyork90, Aug 26, 2008.

  1. oldyork90

    oldyork90 Guest

    I need bigger, easier to hit, checkboxes and radios. If that is not
    possible, and it appears not, is there a way to map the inside of a
    table cell to 'select'. Ideas? I suppose I could use images and
    implement the behavior with js. I'm fishing here. Thank you for any
    ideas.
     
    oldyork90, Aug 26, 2008
    #1
    1. Advertising

  2. oldyork90 wrote:
    > I need bigger, easier to hit, checkboxes and radios.


    No, you don't.

    > If that is not possible, and it appears not, is there a way to map the
    > inside of a table cell to 'select'. Ideas?


    <input type="checkbox" name="..." id="foo"><label for="foo">...</label>

    > I suppose I could use images and implement the behavior with js.


    But you don't want to do that.

    > I'm fishing here. Thank you for any ideas.


    You could have RTFFAQ, RTFM, and STFW before.

    <http://jibbering.com/faq/>


    PointedEars
    --
    var bugRiddenCrashPronePieceOfJunk = (
    navigator.userAgent.indexOf('MSIE 5') != -1
    && navigator.userAgent.indexOf('Mac') != -1
    ) // Plone, register_function.js:16
     
    Thomas 'PointedEars' Lahn, Aug 26, 2008
    #2
    1. Advertising

  3. oldyork90

    oldyork90 Guest

    On Aug 26, 10:10 am, Thomas 'PointedEars' Lahn <>
    wrote:
    > oldyork90 wrote:
    > > I need bigger, easier to hit, checkboxes and radios.

    >
    > No, you don't.


    Yes, I do.

    Answer is use your own images. Thank you pointed one.
     
    oldyork90, Aug 26, 2008
    #3
  4. oldyork90 wrote:
    > Thomas 'PointedEars' Lahn wrote:
    >> oldyork90 wrote:
    >>> I need bigger, easier to hit, checkboxes and radios.

    >> No, you don't.

    >
    > Yes, I do.


    Hardly, given zoom effects.

    > Answer is use your own images.


    That may be your answer, and IIUC it would be an unwise one. For you would
    assume that such a pseudo-control would be accessible when it is not.

    > Thank you pointed one.


    What for?


    PointedEars
    --
    Anyone who slaps a 'this page is best viewed with Browser X' label on
    a Web page appears to be yearning for the bad old days, before the Web,
    when you had very little chance of reading a document written on another
    computer, another word processor, or another network. -- Tim Berners-Lee
     
    Thomas 'PointedEars' Lahn, Aug 26, 2008
    #4
  5. oldyork90

    oldyork90 Guest

    On Aug 26, 10:52 am, Thomas 'PointedEars' Lahn <>
    wrote:
    > oldyork90 wrote:
    > > Thomas 'PointedEars' Lahn wrote:
    > >> oldyork90 wrote:
    > >>> I need bigger, easier to hit, checkboxes and radios.
    > >> No, you don't.

    >
    > > Yes, I do.

    >
    > Hardly, given zoom effects.


    Zoom is not the answer for all things. Proportion is one.

    >
    > > Answer is use your own images.

    >
    > That may be your answer, and IIUC it would be an unwise one. For you would
    > assume that such a pseudo-control would be accessible when it is not.
    >
    > > Thank you pointed one.

    >
    > What for?
    >
    > PointedEars
    > --
    > Anyone who slaps a 'this page is best viewed with Browser X' label on
    > a Web page appears to be yearning for the bad old days, before the Web,
    > when you had very little chance of reading a document written on another
    > computer, another word processor, or another network. -- Tim Berners-Lee
     
    oldyork90, Aug 26, 2008
    #5
  6. oldyork90

    Steve Swift Guest

    Thomas 'PointedEars' Lahn wrote:
    >> Answer is use your own images.

    >
    > That may be your answer, and IIUC it would be an unwise one.


    Perhaps that's why this exact scenario is described in section 14.5.5 on
    pages 271-275 of O'Reilly's "Javascript The Definitive Guide". I must
    have missed the "Don't try this at home, folks".

    --
    Steve Swift
    http://www.swiftys.org.uk/swifty.html
    http://www.ringers.org.uk
     
    Steve Swift, Aug 26, 2008
    #6
  7. oldyork90 wrote:
    > Thomas 'PointedEars' Lahn wrote:
    >> oldyork90 wrote:
    >>> Thomas 'PointedEars' Lahn wrote:
    >>>> oldyork90 wrote:
    >>>>> I need bigger, easier to hit, checkboxes and radios.
    >>>> No, you don't.
    >>> Yes, I do.

    >> Hardly, given zoom effects.

    >
    > Zoom is not the answer for all things. Proportion is one.


    It would seem foolishness is inverse proportional to experience.

    Please learn to quote.


    PointedEars
    --
    Prototype.js was written by people who don't know javascript for people
    who don't know javascript. People who don't know javascript are not
    the best source of advice on designing systems that use javascript.
    -- Richard Cornford, cljs, <f806at$ail$1$>
     
    Thomas 'PointedEars' Lahn, Aug 26, 2008
    #7
  8. oldyork90

    Beez Guest

    Is there an accessible option for a multi-state checkbox?

    Beez
     
    Beez, Aug 27, 2008
    #8
  9. Beez wrote:
    > Is there an accessible option for a multi-state checkbox?


    The answer depends on what states you are talking about.


    PointedEars
    --
    Prototype.js was written by people who don't know javascript for people
    who don't know javascript. People who don't know javascript are not
    the best source of advice on designing systems that use javascript.
    -- Richard Cornford, cljs, <f806at$ail$1$>
     
    Thomas 'PointedEars' Lahn, Aug 27, 2008
    #9
  10. oldyork90

    Beez Guest

    PointedEars wrote:
    > The answer depends on what states you are talking about.


    Touche. More appropriately, a tri-state. True, Partially True,
    False.

    Example scenario:

    [ ] Folder
    [ ] file2.ext
    [ ] file3.ext
    [ ] file4.ext

    If one of the files are selected, Folder is partially selected
    (Partially True).

    [o] Folder
    [x] file2.ext
    [ ] file3.ext
    [x] file4.ext

    Beez
     
    Beez, Aug 27, 2008
    #10
  11. oldyork90

    Beez Guest

    > PointedEars wrote:
    > > The answer depends on what states you are talking about.

    >
    > Touche.  More appropriately, a tri-state.  True, Partially True,
    > False.
    >
    > Example scenario:
    >
    > [ ] Folder
    >     [ ] file2.ext
    >     [ ] file3.ext
    >     [ ] file4.ext
    >
    > If one of the files are selected, Folder is partially selected
    > (Partially True).
    >
    > [o] Folder
    >     [x] file2.ext
    >     [ ] file3.ext
    >     [x] file4.ext


    Is there an accessible way to do this using javascript?
     
    Beez, Aug 28, 2008
    #11
  12. Beez wrote:
    > [...]
    > Is there an accessible way to do this using javascript?


    A technical newsgroup like this is more like a think tank than a support
    forum, so pressing the issue will hardly get you a better answer. Some
    questions need more time to think about. And I/we do have a real life.


    PointedEars
    --
    realism: HTML 4.01 Strict
    evangelism: XHTML 1.0 Strict
    madness: XHTML 1.1 as application/xhtml+xml
    -- Bjoern Hoehrmann
     
    Thomas 'PointedEars' Lahn, Aug 28, 2008
    #12
  13. In comp.lang.javascript message <65dee9ee-cd14-48a3-824d-f6493a3ad406@z6
    6g2000hsc.googlegroups.com>, Thu, 28 Aug 2008 05:58:05, Beez
    <> posted:

    >Is there an accessible way to do this using javascript?


    The following code, OK as is in IE & FF but not Opera, indicates that
    there is. The image is clickable, can be resized by code, and could be
    replaced by code. Therefore, what you want can be built from images.

    <img src="graphics/fig-0.gif" name=IM onClick="alert(0)">
    <button onClick="IM.width*=1.3">
    <button onClick="IM.src='graphics/fig-8.gif'">


    --
    (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05.
    Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
    PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
    Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
     
    Dr J R Stockton, Aug 28, 2008
    #13
  14. oldyork90

    Beez Guest

    PointedEars wrote:
    > A technical newsgroup like this is more like a think tank than a support
    > forum, so pressing the issue will hardly get you a better answer.  Some
    > questions need more time to think about.  And I/we do have a real life.


    In no way did I suppose this ng was a "support forum" in its truest
    application -- however, the act of helping others is, at some level,
    "support".

    My point in asking the question was certainly not to press the issue.
    In other ngs, and one of mine in this, questions or responses go
    unanswered and so this was more of a *nudge*. Understandably, you
    have a life; as do I. Mine revolves around this single question (just
    kidding).

    Knowing somebody is thinking about this topic is fine, but how am I to
    know that it didn't just get lost if nobody replies?

    It seems response times in most other topics are quicker. In the
    future I'll remember to be more patient. My sincere apologies.
     
    Beez, Aug 29, 2008
    #14
  15. oldyork90 wrote:
    >I need bigger, easier to hit, checkboxes and radios. If that
    > is not possible, and it appears not,

    <snip>

    Is it not possible? Why/how does it appear not? What did you try, and
    where did you try it? (And for that matter where and why do you need it,
    as users with accessibility requirements may be satisfying their needs
    by other means?) If you are wrong about this then the javascript
    question may never arise.

    Richard.
     
    Richard Cornford, Aug 29, 2008
    #15
  16. In comp.lang.javascript message <cebd688c-60e7-41cd-ba4f-158f87bb6d59@34
    g2000hsh.googlegroups.com>, Fri, 29 Aug 2008 07:27:38, Beez
    <> posted:
    >PointedEars wrote:
    >> A technical newsgroup like this is more like a think tank than a support
    >> forum, so pressing the issue will hardly get you a better answer.  Some
    >> questions need more time to think about.  And I/we do have a real life.

    >
    >In no way did I suppose this ng was a "support forum" in its truest
    >application -- however, the act of helping others is, at some level,
    >"support".


    <FAQENTRY> Newcomers should ignore all that Thomas Lahn writes, except
    where it deals only with coding in JavaScript. The latter is generally
    correct in principle, though often containing error due to excessive
    haste; but it will frequently be incomprehensible to the newcomer.

    --
    (c) John Stockton, nr London UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.

    Read 'The Story of Hien and the Chief Examiner'
     
    Dr J R Stockton, Aug 29, 2008
    #16
  17. oldyork90

    Evertjan. Guest

    Dr J R Stockton wrote on 29 aug 2008 in comp.lang.javascript:

    > <FAQENTRY> Newcomers should ignore all that Thomas Lahn writes, except
    > where it deals only with coding in JavaScript. The latter is generally
    > correct in principle, though often containing error due to excessive
    > haste; but it will frequently be incomprehensible to the newcomer.
    >


    <FAQENTRY>
    &lt;FAQENTRY>s should be closed, as oldtimers should know.
    </FAQENTRY>

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Aug 30, 2008
    #17
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mick
    Replies:
    1
    Views:
    517
    Karl Seguin
    Jan 4, 2005
  2. Peter Williams
    Replies:
    1
    Views:
    1,395
    Dylan Parry
    Jun 3, 2005
  3. Scott D Johnson
    Replies:
    1
    Views:
    1,078
    Scott D Johnson
    Sep 27, 2006
  4. Jan C. Faerber
    Replies:
    0
    Views:
    624
    Jan C. Faerber
    Jun 30, 2009
  5. Hiten
    Replies:
    1
    Views:
    633
    Vidar Petursson
    May 26, 2004
Loading...

Share This Page