Text console for development in JAWS? - accessibility

I'm working on a web application and I want to make it easy to use via screen reader.
Testing stuff in JAWS is time consuming.
Is it possible to make JAWS display text instead of reading it?
I don't want actually to hear the content during development.
I just want to see what would be read by JAWS.

There is no speech viewer for Jaws, as far as I know. However, you can make it write all speech output to a log file using the "/z" switch. Unfortunately, you cannot view the log file in a text editor while the screen reader is running, because it is locked.
Open a command prompt or bring up the Run dialog by pressing Win+r and type:
"jaws_executable" /z"log_file"
Where "jaws_executable" is the full path and file name of the Jaws application and "log_file" is the location and name of the speech log file.
Important: There should be no space between "/z" and the log file name.

This is an old thread, but since it came up top in my search I thought I'd update it. JAWS 15 has just introduced this capability through the "Speech History" feature. Follow these directions to enable it:
If you miss one or more messages spoken by JAWS, you can press
INSERT+SPACEBAR, followed by H to open a Results Viewer window
containing up to the last 50 announcements spoken by the synthesizer.
When the Speech History window opens, you are placed on the line
containing the most recent announcement. To clear the history, press
INSERT+SPACEBAR, followed by SHIFT+H. The history is also cleared when
you lock the computer or completely log off. If you do not want JAWS
to maintain a speech history, clear the Enable Speech History check
box in Settings Center.
Read more in the JAWS 15 What's New document under New Speech History for Speech-only Users.
For those of you stuck with JAWS 14, Nektarios Paisios answer using the "/z" log worked best for me.

I believe there is a visual indicator in JAWS, but my version of JAWS is being a bit wonky. These days, NVDA plays pretty similarly to JAWS, so you can use that, and it has a speech output console: Right click the NVDA icon in the system tray, select Tools, and Speech Viewer.

The easiest way to see what a screen reader 'sees' is to disable the CSS. This will show you everything on the page that the screen reader can access. This will give you a good idea what is going on during development until you want to get into the more complicated stuff.
See http://www.iheni.com/quick-tip-testing-web-content-for-screen-readers-without-a-screen-reader/. This site has a lot of useful info too http://webaim.org/articles/.

You can enable the Braille Viewer in Start Menu > All Programs > JAWS 14.0 > Braille Viewer.
Braille Viewer will render visual text output of what would be sent to a braille display. It sometimes uses abbreviations or shorthand but is a close representation of the speech output.
Also take a look at Fangs Screen Reader Emulator for Firefox. It will render a text output of what a screen reader would announce on a page, in the correct read order, though it does not render dynamic content.

JAWS is supplied with a Braille Viewer in the 'Utilities' folder, which will render any text from the focus.

Related

How do I stop Android devices from cutting off portion of QR code text after scanning?

I have an app that lets users create a dynamic link (using firebase) to their information and that redirects to the play store first if they don't have the app installed yet. When the dynamic link gets created, it gets encoded in a QR code for easy sharing. Unfortunately some (not all) Android devices are cutting off a portion of the link so that it doesn't work.
So here is the QR code that gets generated:
After scanning it, some android devices show this on the screen:
If you select "copy", you get this text: "https://missionary.page.link?apn=com.quintessence.missionary&ibi=com.quintessence.missionary&link=https://missionary.page.link/missionaryDetails?missionaryID%3DnRLkLgbVQ94Af2uI2rQO"
This is the text that is supposed to be there, and if you then paste it in the browser, it works correctly and either opens the app or the google play store. If you select "Open in browser" instead, it cuts off a portion of the text and returns this:
Selecting the URL and copying it, shows that the last section of the text is getting cut off and it's trying to open this instead: "https://missionary.page.link/?apn=com.quintessence.missionary&ibi=com.quintessence.missionary&link=https".
Any help with understanding why this is happening and what I can do to prevent it would be great!
I have tried googling a solution but didn't find anything about text in QR codes getting cut off.

How do I test the accessibility of my Firefox extension's toolbar button (and attached popup)?

I'm writing a Firefox (web)extension. I have a browser_action in my manifest.json, with a default_popup. I want my extension to be accessible by all users, including those with vision impairment.
So I'd like to, as I change and develop things, test what it's like to (for example) interact with this feature, using only the keyboard. How do I do this? How do I focus and thus "click" the toolbar button, without a mouse?
Ideally, without actually running special screen reader software every time.
So I'd like to, as I change and develop things, test what it's like to
(for example) interact with this feature, using only the keyboard. How
do I do this? How do I focus and thus "click" the toolbar button,
without a mouse?
You can use commands to set a keyboard shortcut.
_execute_browser_action: works like a click on the extension's browser action
You may also add commands.update() (Firefox 60+) API to let users change that keyboard shortcut.
Thanks for considering accessibility. Just to clarify, because I don't think you meant this, but you can do keyboard testing without a screen reader. Just don't use your mouse :-) Seriously.
In my current firefox, I have an address bar, the search field, then a bunch of plugins on a toolbar.
On a PC (should be similar for a Mac, but Cmd instead of Ctrl):
I can move my keyboard focus to the address bar with alt+d or ctrl+L (cmd+L)
I can move my keyboard focus to the search field with ctrl+k (cmd+k)
Interestingly enough, I could not get my focus on the toolbar. I could have sworn I could tab from the address field, to the search field, to the toolbar, but it's not working now.
If you can get your focus there, then you should be able to use the left/right arrows to move between tools and then space/enter to select the tool.
If you want to play with a screen reader, NVDA is free.

How can I prevent JAWS screenreader from reading key strokes?

I'm trying to test the screenreader dialogue on my application for 508 compliance. It works mostly how it should except a problem I'm running into is when I navigate element to element the screenreader reads each keystroke like so "TAB" when I want to traverse through my application. How can I turn this off while testing? I'm running JAWS 17.
You can't and you shouldn't. Different verbosity settings like functional keys announcement, punctuation reading, repeated characters announcement, treatment of dialog controls and so on, and so forth, — all of these are entirely up to the screen reader and the user who adjusts these settings. Just like, for example, speech rate or pitch. As a JAWS user, I wouldn't be happy, and more than that, I would be angry if some app developer forced me to turn off my Tab announcement or changed my punctuation level.
Update: If you just want to turn off keystrokes announcement for yourself, do the following:
Press Insert+6 on the number row to go to JAWS Settings Center. You can do this from the JAWS main menu, but the single keystroke is much faster.
If you want to make your change by default for all apps, press Ctrl+Shift+D to open the default file.
In the search box type labels and search for Key Labels.
In the dialog that appears turn off the announcement for all of the keystrokes you don't want to hear. Note that if you mute Tab, all of the keystrokes like Shift+Tab and Ctrl+Tab will be muted automagically.
click OK several times to leave Settings Center and save your settings.
It's just a user setting options.
If you do that in your jaws, it's coild bé different for an other person !

Disable toolbar or right-click when viewing embedded PDF online - is this possible?

I have a WordPress blog that has a hyperlink to a PDF report. The user clicks the link and the report PDF opens up in another tab. When it opens up in another tab it uses whatever PDF software is on the local machine (e.g. for me it uses Adobe Reader to view the PDF online).
Is there any way at all that the ability to then select the PDF text, right-click, Copy and then Paste it in to a Word document or such (effectively stealing the information) can be stopped in some way?
On the same page that has the highlighted text mentioned we also have a link to download the entire report which is said PDF. When this is done, because the PDF was secured in Acrobat before being uploaded to WordPress if someone tries to edit the text then they cannot as the restrictions are in place - but why are the restrictions not in place when the PDF is viewed online?
Any assistance or advice on how to protect the PDF contents when viewed online (I realise it may not even be possible but I am open to suggestions) would be greatly appreciated.
You can start by modifying the security properties on the document itself. I'm not sure if you can do this with Adobe Reader, but I know you can do it with Acrobat Pro. Here's an article that describes how to disable copy/paste, printing, etc. etc. I tested in IE8, FF, and Chrome -- it looks like the permissions are honored.

Download Image From Site

This site is claiming to prevent the download of images and preventing screenshots. Is this truly possible to stop and can anyone crack it in their demos? What tools can be used to download an image set as a background?
http://www.iptlock.com/how.php
It isn't possible, no.
If the client can see it on their screen, then it exists on their computer. Even if that weren't the case, there is always the whole analog thing (people can literally take a picture of their screen).
If you have chrome: Just go to one of their demos, press ctrl+shift+c, and an inspector will show up, showing you all individual parts of the page. Then select the image from the list (servedemoimg) , right mouse click on it, and you can save the jpg. It is not possible to prevent people from downloading those files. And this company doesn't even make it particularly difficult.
Their scheme "works" by hiding the content whenever a key is pressed or the main window loses focus. They also attempt to detect that something has been copied to the clipboard and they replace it with some text ("It is prohibited to copy distribute or in any way alter these copyrighted images").
That means that if you press any key to copy the content, you'll just get the "locked" graphic. The same goes for switching to another app (like a screen capture app) because the screen capture app will have focus instead of the browser, causing the lock graphic to show. If you do manage to copy something to the clipboard, it immediately replaces the content with the text I mentined above.
Furthermore, their content is a background image so you can't easily print or right-click to copy the image by disabling JS.
However, it's pretty trivial to defeat. My first attempt using IE8 was trivial. When I went to the "protected" page, IE asked me if I wanted to allow the page to access the clipboard, and I clicked "Don't Allow". Then I pressed PrntScr and was able to paste the content into another program. This worked because that particular key isn't captured by the browser and I didn't allow the page to see my clipboard.
Then I tried again, this time allowing clipboard access. This time I used a screen capture program that automatically captures the foreground window after a set time delay. This worked because I was able to give the browser window focus, and the screen capture utility just saved the image as a file instead of putting it on the clipboard.
Lastly, I just saved the source as a file and saw background:url(servedemoimg.php?filename=IPTbusiness_graphicdesign_ITB). Just putting http://www.iptlock.com/servedemoimg.php?filename=IPTbusiness_lawyer_ITB into my browser's address bar made the complete "protected" content show up for me to download, print, email, etc.

Resources