JAWS doesn't read the text properly - accessibility

I am trying to develop an accessible website with JAWS and FF but I couldn't find a way to make the screen reader not to read the codes.
I have tried using <span></span> but still it reads the codes.
For example I did this:
<header><span role="heading">Hi</span></header> and JAWS instead of reading "Hi" it says "page has one heading and no links. JAWS heading level 2 Hi."
and then when I move between browser tabs and return to the tab which I'm working on it says "Frame. Hi heading level 2"
So I'm wondering, is there a way to make JAWS reads what's on the screen only? Do I have to use AJAX or something?
NOTE: This is my first time to deal with accessibility, so I don't know where I went wrong and what should I do.

Related

how do you make NVDA stop announcing "link"

Using the NVDA screenreader to read a webpage in Firefox under Windows 10, NVDA is announcing "link" whenever it comes across a linked word or phrase. I can't find a way to turn that feature off. I've turned the "Punctuation/Symbol Level" preference to "none", but it still announces links. Is there a way to stop announcing links?
I am unable to get this work, even after closing and re-opening NVDA, so perhaps I am misunderstanding this feature. Maybe you will have better luck:
https://www.nvaccess.org/files/nvda/documentation/userGuide.html?#DocumentFormattingSettings
9.1.12. Document Formatting Settings (NVDA+control+d)
This dialog box is found in the Preferences menu, under "Document Formatting...".
Most of the checkboxes in this dialog are for configuring what type of formatting you wish to have reported as you move the cursor around documents. For example, if you check the report font name checkbox, each time you arrow onto text with a different font, the name of the font will be announced.
[…]
Elements
Headings
Links
Lists
Block quotes
Landmarks
Frames
Clickable

Is there anything that shows what works/doesn't for various screenreader/browser combinations?

I'm enhancing the UI for an application to be more compatible with screen readers. The problem is I keep running into issues and I'm beginning to suspect that it' due to the screen reader itself.
Right now I'm mostly testing JAWS 15 with IE 8 (due to corporate limitations it's basically all I can test with at the moment) and getting some weird behavior, but as near as I can tell the aria markup and html all look correct.
For instance:
In some hidden divs (role="alert") the JAWS does not speak "button" after reading a button's name after the DIV is show. (It does speak "button" once you tab to the button though.)
JAWS is speaking elements with aria-hidden="true," which was fixed according to this thread.
Again with hidden alert divs, in some cases JAWS will repeatedly speak elements. In at least one case it will repeat the header and the first line of text infinitely (or at least until my patience ran out.)
The altText for images in table is not read when the entire page is first read. It does get read when the user navigates through the table with the table commands though. I don't even know what corret behavior is on this one...
I'm basically looking for something where I can find out if these are known issues with JAWS/IE8. And if there's a list of compatibility out there (similar to the HTML5 compatibility list) I'll be able to refer to it whenever people bring these issues up.
http://html5accessibility.com/ is a starting point to discover whether a browser has accessibility support for native elements and attributes.
If you're looking for documentation of screen reader support for ARIA attributes, check out The Paciello Group. For example, Steve Faulkner published a post on role=alert that may be helpful.

Text console for development in JAWS?

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.

How to display full URL in address tab of Dreamweaver CS5?

In the address bar of the browser navigation tab, it shows the absolute path of the file, but it is so long that it gets truncated and I can't read the exact file that I'm working on! Is there any way to fix this?
Yeah, I got it... just hover your mouse over the truncated field for a couple seconds and a tooltip will pop up with the full address. I was just frantically clicking on it like an impatient moron and it was canceling the scheduled tooltip display.
I'm not sure what a "browser navigation tab" is. In Dreamweaver CS5 on Windows, the full url is displayed in the title bar of the document. When documents are maximized a tab will display the file name, and the full file url will display in the title bar on the right hand side. This full url gets truncated when there are too many documents open. The truncation is done from the left so you may lose some of the folders, but you should still see the file name. If this is the case, then a quick solution is to close some documents. Or Perhaps don't nest your files so deeply, or don't have really long file/folder names.
Another option is an extension that I wrote a while ago called Document Path Toolbar: http://communitymx.com/abstract.cfm?cid=A01CEAEA3CA40B36 The extension adds a toolbar that has a text field that displays the full url to the local file. It has an option that allows you to updated the width of the text field if you have longer file paths (I think that such modifications requires a restart of Dreamweaver). It is commercial but not much. As I no longer contribute to CommunityMX, I won't receive anything for a purchase should you decide it is something that you could benefit from.

How to link youtube video without captions?

Is it possible to link youtube videos in HTML code without showing it's captions (subtitles)?
Let's say I have following video: http://www.youtube.com/watch?v=kTvHIDKLFqc . It has default english subtitles. However, when linking this video, I want to load it without them. Is there a possibility to do so with some kind of parameter in video?
I found this link with description how to do it, but it doesn't seem to work. If I try to use following format of link, it shows captions anyway: http://www.youtube.com/watch?v=kTvHIDKLFqc&cc_load_policy=0. Is it not working or did I misunderstand anything?
I found the documentation to be a little misleading in that setting &cc_load_policy=1 does not show the closed captions by default, but enables toggling with the cc button in the video control bar when entered as shown here -
http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=140174
It seems cc_load_policy is a parameter that only accepts 1 as value, so even if you try to use 0 or off values to turn off captions, it won't make a difference (at least until today: 2015-05-18 2017-09-11):
https://developers.google.com/youtube/player_parameters#cc_load_policy
2017-09-11 Solution: "Enable privacy-enhanced mode"
When you share a video in Youtube through the embedding option, you can click the "Enable privacy-enhanced mode" checkbox. This will change the URL to a different Youtube domain: https://www.youtube-nocookie.com
Just by doing this, even if the user has captions On by default, the nocookie option will not read the cookie associated to the user preferences (it's as if the user does not require captions by default).
I have created this codepen example in order to explain this:
Try playing the "No parameters" video and then the cc_load_policy=1 video (it may not display captions due to user preferences, even if in the latter the CC button is activated - red underline);
Then play the "nocookie domain" video and there should be no captions.
Try activating captions in the "no parameters" video and refresh the page.
All videos except the "nocookie domain" video will display captions.
Disclaimer: I have only seen this working in Chrome (Firefox and Edge always display captions in the nocookie domain, even in private navigations). If you activate/deactivate captions manually in the "nocookie domain" video, then it will display/hide captions in this domain when you refresh the page respectively.
Old stuff (partial solution for owners of the video)
cc_lang_pref does not accept off or Off as a value either...
I managed to turn off captions/subtitles for the default language of the video this way only for Safari and IE (I have captions in the default language and English - in my case, Chrome and Firefox seemed to have ignored the change, but I suggest to give it a shot anyway):
In youtube if you go to your video's Info and Settings page and click Advanced Settings tab, set the Video Language to Not applicable.
Save and go to Subtitles and CC page, where a pop-up appears explaining that «You must select a video language before adding subtitles or CC.» (this seems not to be true, because they even appear anyway).
Choose your video's default language in the pop-up: this is what makes it understand that you don't need captions of your default language when the video is in the same default language the weird thing is, this is the step that will make them not to show up, and it's not because the same language is used in the captions.
In the URL's video that you do not want to have captions do not use cc_load_policy parameter, but you can use cc_lang_pref to the default language like this:
http://www.youtube.com/watch?v=kTvHIDKLFqc&cc_lang_pref=en.
Again, this seems to work only in some browsers (Firefox and Chrome not included), but hope it helps...
The site says how to turn on caption. It does not talk about turning off captions. I thinkit depends on the user's previous choice.
When you embed a video on another
site, you can make it so that captions
are always shown on the embedded
video. To enable captions on a video
you'd like to embed, just add
&cc_load_policy=1 to the video's embed
code.
It's very simple, add iv_load_policy=3 parameter to your embed code.
Peace to whom will follow the guidance,
(Thanks for your tries but I found something nice not far away from there...)
Ask for a language preference that is not from the translated captions (for my exemple "He" stands Hebrew, that was not among the offered translations of the video.)
Add ?hl=He to the url, like this :
without it :
https://www.youtube.com/watch?v=pRztmbnyV70
and with it :
https://www.youtube.com/watch?v=pRztmbnyV70?hl=He
Makes it... ?
It worked for me on Firefox, Edge and Opera.
-- Enjoy !
Note : the particle desapears after the loading of the page ...But the job is done !

Resources