web_master Posted May 6, 2009 Share Posted May 6, 2009 hi, I work with iframe sometimes, like a some shoutbox - but, in xhtml strict I cannot use iframe. Here is "object", and its OK, but what ca I do when I know that the blind people can "see" the iframe, but they cannot "see" the object. They use usual the Jaws screan reader software, and I know that jaws cannot read the "object". Is some (simple) sloution? thanks in advanced. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/ Share on other sites More sharing options...
AmandaF Posted May 6, 2009 Share Posted May 6, 2009 What are you trying to use the object/iframe for? Is it something you could just put in a div, or is it something that requires a plug-in? Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-827882 Share on other sites More sharing options...
stewart Posted May 7, 2009 Share Posted May 7, 2009 What are you trying to use the object/iframe for? Is it something you could just put in a div, or is it something that requires a plug-in? That is definitely the primary question, because most of the time you can definitely get away with some sort of normal block level container object, like a div and just giving it an overflow: scroll; if you want scrollbars/scrolling area. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828220 Share on other sites More sharing options...
web_master Posted May 7, 2009 Author Share Posted May 7, 2009 It will be an shout box with scrollbar (scrolling area). Im mostly using tables and less the div-s. Its an habit and now I most slowly study div-s to use in sites. So for now I need to use one shoutbox, but the "object" - as I say - cannot read blind men. So I know now that I need a shoutbox with overflow. And its no need plug-in, just a reload from database, it will be a pure PHP txt. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828234 Share on other sites More sharing options...
Ken2k7 Posted May 7, 2009 Share Posted May 7, 2009 You need an iFrame to display a shoutbox? Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828262 Share on other sites More sharing options...
AmandaF Posted May 7, 2009 Share Posted May 7, 2009 Like stewart said, you can use the css overflow:scroll to create the same sort of scrolling effect that an iframe would have. I'm not 100% positive about this, but I'm pretty sure it will work as well on a table cell as it would on a div, so you don't need to stop using a table-based layout to do it. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828424 Share on other sites More sharing options...
Axeia Posted May 7, 2009 Share Posted May 7, 2009 tbh, I don't think it does, sticking a div inside a table cell goes just fine though. I'm not too convinced a screenreader picks up changing/ajax text though as opposed to say a self refreshing iframe. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828563 Share on other sites More sharing options...
AmandaF Posted May 7, 2009 Share Posted May 7, 2009 Technically, it would pick up on it. Since the page is read linearly, though, if the change is made to a part that was already read, the user wouldn't realize it. As far as I know, the best way to get around that is to make sure all the content can be accessed without javascript (i.e. make sure your page "degrades gracefully") and then give the user some way to turn off the changing content. One way I've read about is to make a checkbox that says something like "check this box if you're using a screenreader" and position it off-screen with css, so sighted users don't see it. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828599 Share on other sites More sharing options...
Axeia Posted May 7, 2009 Share Posted May 7, 2009 Think you just described his problem He went from a seperate page approach, which screenreaders can pick up since it's (an iframed) page changing to a part of the page changing that has already been read. So I'm with Amanda on this one, you'll most likely have to offer an alternative solution, such as a seperate window.. or use iframes and a doctype that allows the use of them... or approach the developers of the screenreader and tell them an object can function as an iframe, which their software fails to treat the same as an iframe. Quote Link to comment https://forums.phpfreaks.com/topic/157079-iframe-object-or-something-else/#findComment-828960 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.