|
| |
|
|
BeTheBall
Posts: 6381 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
Any JAWS users at Outfront? - 7/16/2007 13:16:46
I am developing an application and am having fits with JAWS. I use a stylesheet that includes a class named hidden. The only element of the class is display:none. This class is used extensively throughout each page to hide various items. The items remain hidden unless a related form field is answered in a particular way. The page works flawlessly in the browser, but JAWS is reading everything, including items that are hidden from view. The stylesheet has a media type of "all" so I would assume the problem is not with the media. I have tried attaching the stylesheet via link and via import, but that also doesn't seem to make a difference. Any thoughts?
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
d a v e
Posts: 4169 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: Any JAWS users at Outfront? - 7/16/2007 15:03:28
the guy from the James Bond films?! yeah, she keeps him as a pet in her cellar and uses him to open beer bottles and the like... ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
BeTheBall
Posts: 6381 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: Any JAWS users at Outfront? - 7/17/2007 14:29:29
Thanks Jaybee. Fortunately for me, my site is on a government intranet so I can generally know all users will be using the same version of JAWS. You might find interesting what I have discovered. Our Accessibility Office mentioned that JAWS handled visibility:hidden but not display:none. My troubleshooting revealed that to be false. The stuff I found on Google mentioned that importing the stylesheet might work where linking it would not. Again, my troubleshooting found that not the case in my situation. The culprit, at least in my case, was the use of multiple classes on a single element. In other words, I found that JAWS would read my text when it was like this: <p class="xHidden " id="x">Hello, world.</p> But not like this: <p class="xHidden otherClass" id="x">Hello, world.</p> I can overcome this problem by putting a wrapper div around any element that needs to be hidden and use the hidden class as the class of the wrapper div. A little more work, but at least the problem wasn't insurmountable.
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|