Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • James Drever 118 posts 149 karma points
    May 18, 2011 @ 08:28
    James Drever
    0

    coping with users without Javascript enabled

    Hi guys.

    I realise that TeaCommerce is pretty dependent on Ajax/Javascript, and this gives me some worries accessibility wise. 

    Is there a plan in the roadmap to allow Tea Commerce to degrade gracefully if Javascript isn't enabled?

    Is there an easy way of getting basic add to cart/checkout functionality working server-side?

    Interesting discussion at http://boagworld.com/accessibility/ecommerce-failure/

    James.


     

  • Rune Grønkjær 1371 posts 3102 karma points
    May 18, 2011 @ 08:53
    Rune Grønkjær
    0

    Hi James,

    Yes, customers with JavaScript disabled will not be able to place a purchase in Tea Commerce at the moment. The discution you posted is good reading and off course something we discussed when creating Tea Commerce. We have sacrificed that option in place of the vast possibilities of design freedom you get instead. With Tea Commerce you have no strings attached.

    But, I promise to do a workshop with Anders on the subject. We might come up with a brilliant solution. It will though, have to be simple for the developer and be able to fit into our freedom of design goals.

    /Rune

  • James Drever 118 posts 149 karma points
    May 18, 2011 @ 09:31
    James Drever
    0

    Hi Rune,

    Thanks, again, for the extremely quick response.  Let me say - I'm not a zealot on this subject, I can see your line of thinking - but I guess the ideal from my point would be a basic ecommerce infrastructure that runs regardless of Javascript, with a lovely Ajax/javascript veneer on top.  

    A couple of further questions:

    In terms of thinking this through/doing a workshop - do you have any timescales for doing this?  Just that I'd be hoping to purchase within a month or so, and it would helpful to know your thinking.

    Any reason why I couldn't just implement the non-JS fallback as link to a server side page which does the releveant web service calls?

    James.

  • Rune Grønkjær 1371 posts 3102 karma points
    May 18, 2011 @ 09:36
    Rune Grønkjær
    0

    We will be doing the workshop today, and will implement it in a hotfix fast if we find the right approach. So hold your horses, we'll be back.

    /Rune

  • James Drever 118 posts 149 karma points
    May 18, 2011 @ 10:09
    James Drever
    0

    Wow.  You don't mess around, do you!?  Fantastic, my horses are held, I'll wait to hear.

  • Rune Grønkjær 1371 posts 3102 karma points
    May 18, 2011 @ 12:50
    Rune Grønkjær
    0

    Hi James,

    We have now been talking, trying and testing our posibilities. We have solved all except one problem, which is the go to payment functionality. The security we have build into the payment process of the cart flow is at the moment blocking the non JavaScript approach.

    So the result for now is that we cannot do it. We would have to totally reinvent the payment part, and that would ruin the great way it works.

    Sorry about the negative answer :)

    /Rune

  • James Drever 118 posts 149 karma points
    May 18, 2011 @ 13:19
    James Drever
    0

    Hi Rune, OK that's a shame..Jut to be clear - Is that a - at the moment we can't do this and we don't really see how we could ever do it , or is at an: at the moment we can't, but we're not ruling it out for the future? James.

  • Rune Grønkjær 1371 posts 3102 karma points
    May 18, 2011 @ 13:45
    Rune Grønkjær
    0

    Never say never. We don't know. If we one day rewrites the payment process, then maybe. But a lot of thought is put behind our current model, and it's pretty good at what it does and very secure.

    At the moment we cannot afford to spend that much time on it.

    /Rune

  • James Drever 118 posts 149 karma points
    May 19, 2011 @ 09:15
    James Drever
    0

    Hi Rune,

    OK.  Well, you didn't give me the answer I wanted, but on the other hand, the process you've gone through and the transparent way you've dealt with my question is very impressive. Thanks. 

    I'll keep going with my evaluation and we'll see where we end up.

    James.

  • Rune Grønkjær 1371 posts 3102 karma points
    May 19, 2011 @ 09:22
    Rune Grønkjær
    0

    Hi James,

    You do that. Depending on the webshop and their target group it will be more or less of a problem. I have created lots of webshops in my career and they all depend on JavaScript in one way or the other. I have never had any problems with it. But again, it's very much up to the websites audience.

    I hope to hear from you again.

    /Rune

  • Rune Grønkjær 1371 posts 3102 karma points
    Jun 22, 2011 @ 15:29
    Rune Grønkjær
    1

    UPDATE:

    We have solved it. The next release of Tea Commerce will have a non JavaScript fallback! Will be pretty simple and use normal html forms.

    /Rune

  • James Drever 118 posts 149 karma points
    Jun 22, 2011 @ 17:16
    James Drever
    0

    Hi Rune,

    Wow - that's great news.

    I must admit I'd reluctantly begun to given up on using TeaCommerce (partly cos of the accessibility issues, partly because of the lack of mulitiple carts).

    You're making me wonder again!

    When is the next release due?

    Do you have any more info on the non-Java script fallback?  Will we able to combine JQuery/Ajax and non-JS approaches in the same page?

    Thanks,

    James.

     

  • Anders Burla 2560 posts 8256 karma points
    Jun 22, 2011 @ 18:57
    Anders Burla
    0

    Hi James

    Yes its just a fallback - so you can use javascript as much as you like - but if the client doesnt have javascript enabled it will just fallback and still work. All in the same page :)

  • Rune Grønkjær 1371 posts 3102 karma points
    Jun 29, 2011 @ 14:41
    Rune Grønkjær
    0

    The new Tea Commerce 1.4 has just been released with no-JavaScript fallback support. You can download it now.

    To see how to use the no-JavaScript fallback download the Tea Commerce Starter Kit, where it has been implemented. It's just a couple of form tags and sumbit buttons. Pretty easy. Even if you want to add it to an existing Tea Commerce webshop.

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft