Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

Ajax and screen reader users

Reply with quote Hi All,
Very specific question here largely aimed at screen reader users as I think they are the group likely to be affected. We are using JQuery to update the DOM on $(document).ready. I'm worried this may not work for screen readers, as the event used is described as "Description: Specify a function to execute when the DOM is fully loaded" http://api.jquery.com/ready/. An example of this is below:

Code:
<div id="testajax"></div>

<script type="text/javascript">

    $(document).ready
 (function () {

     $.ajax({
         url: "http://foo.local/test/testPartial",
         success: function (data) {
             $("#testajax").html(data);
         },
         error: function (data) {

         }
     });

 })
</script>

So my question would be, does the data being pulled in by this piece of jquery get loaded into the virtual buffer by screenreaders?

Design, development and marketing for the web.
Edge Three Sixty Ltd: Web Design Liverpool
Reply with quote aah - I remember the good old days when a question like this would have got dozens of replies...

Design, development and marketing for the web.
Edge Three Sixty Ltd: Web Design Liverpool
Reply with quote
philsmears wrote:
aah - I remember the good old days when a question like this would have got dozens of replies...

Yes, is quiet around here nowadays and sadly very few screen reader users, I suspect. Hope you get a useful response soon!

James Coltham - Local gov web manager by day, web and accessibility blogger at lunchtime, freelancer by night. Tweets at @prettysimple.
Reply with quote was that a bit of tumbleweed that just rolled past ...
Smile

Design, development and marketing for the web.
Edge Three Sixty Ltd: Web Design Liverpool

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic