screen-readers

Java Swing JEditorPane and Screen Readers

╄→尐↘猪︶ㄣ 提交于 2020-01-16 00:33:08
问题 I've been looking for the last few days and can't find an answer anywhere. I'm trying to make an accessible IDE in Java Swing. The only thing I'm having problems with, is emulating behavior that happens in other text text editors. I want the screen reader (JAWS, in particular) to read whatever is in the selected line of the text area (not like highlighted, just wherever the cursor is - that whole line). If I try this in Eclipse, or even notepad, whenever I use the arrow keys to move the text

NVDA reads all modal content after reading the focused element in modal dialog

三世轮回 提交于 2020-01-15 10:26:13
问题 I have implemented a requirement to focus the first tab(basically an <a> element) present inside the modal dialog. When using NVDA screen reader to test the feature, it is observed that after reading dialog label and description (pointed by aria-labelledby and aria-describedby) it reads the focused tab element. However, after that it continues on to read the entire modal dialog content starting with modal heading. This is not the desired reading behavior we want. If we put focus on the first

Site accessibility: what screen readers, etc to test against, and how?

♀尐吖头ヾ 提交于 2020-01-13 05:31:06
问题 The web site that we're writing needs to be "Accessible". The trouble is, while we understand the general conepts (semantic latout, alt text on images, light on Javascript, etc etc), we don't really have much knowledge of what screen reader products or other accessible browser are actually on the market and/or in general use, nor how to test against them. So the questions are: What products do we need to know about? Would it be sensible (or even useful) to get hold of them to test against?

When is it OK to use Javascript and when not?

蓝咒 提交于 2020-01-12 04:06:10
问题 Is it good practice not to use much javascript/jquery? Should we avoid it as much as possible (for good accessibility)? When is it OK to use JavaScript and when is it not in web design and development? In what scenarios and with what conditions? Update: I'm asking regarding public websites. 回答1: I have to respectfully disagree with the posters that say that you shouldn't use JavaScript, or use it sparingly, or have it degrade gracefully. The reason is that the vast majority of people nowadays

How to decide What should be chosen to make heading bold <strong> or <h3/h4/h5>?

我只是一个虾纸丫 提交于 2020-01-05 08:16:44
问题 How to judge what should be <h2> , h3 h4 h5 h6 or <p><strong>Some text</strong></p> If we don't have knowledge about context Only title of the page i can judge easily <h1> How to judge others I always get content from clients in MS word 2007 format and client always use fontsize to make things smaller and bigger. How we can best judge where client want Headings level and where he used bold text only for styling and where He really want to give emphasize on text. <p><strong>Some text here<

Prevent background items from receiving focus while modal overlay is covering them?

我与影子孤独终老i 提交于 2020-01-03 08:53:12
问题 I am working on making an overlay modal more accessible. It works essentially like this JSFiddle. When you open the modal, the focus doesn't properly go into the modal, and it continues to focus on other (hidden, background) items in the page. You can see in my JSFiddle demo that I have already used aria-controls , aria-owns , aria-haspopup and even aria-flowto . <button aria-controls="two" aria-owns="true" aria-haspopup="true" aria-flowto="two" onclick="toggleTwo();" > TOGGLE DIV #2 </button

How to hide any text from sighted user and search engine but not from screen reader?

只愿长相守 提交于 2020-01-01 15:11:20
问题 What is the best tested way to hide any text from sighted user but not from popular screen readers? and without affecting SEO. for example if i adding any hidden text only for screen-reader users then that text should not be crawl by search engine when search engine will crawl that page. 回答1: The jQuery UI CSS framework does this by positioning elements far off-screen, e.g. .ui-helper-hidden-accessible { position: absolute; left: -99999999px; } 回答2: I'm using the system Drupal 7 class which

Evaluating current state of a screen reader in JavaScript

若如初见. 提交于 2020-01-01 12:31:34
问题 I've been doing screen reader optimization for the last 2 years without issue, but now I'm developing an application that has audio playback as a core piece of functionality. As I understand, there's no way to defer playback while a screen reader is running and all of my audio streams are talking over each other right now. I've been through the WAI-ARIA specs many times to the point that I doubt the feature I'm looking for is included there. Is there any overall screen reader API accessible

Force screen reader to read one letter at a time rather than the entire word

谁说胖子不能爱 提交于 2020-01-01 10:50:14
问题 I'm building an HTML webpage that contains the following content: In order to proceed, please enter this code: GJBQTCXU "GJBQTCXU" is a code comprised of a string of letters; however, screen readers attempt to pronounce this as a single word. How can I stop them from attempting to pronounce this nonsensical word and instead get it to read one letter at a time: "G J B Q T C X U". As clarification, I'm building this page so that screen readers automatically do the right thing. I know that users

ASP.NET MVC - How to detect if user is using a screen reader

纵然是瞬间 提交于 2019-12-31 03:23:31
问题 So I'm currently trying to check if a user is using a screen reader on our site. The reason I would like to check if they are is because our site provides a training module in which if they are using a screen reader, I would like to show a button that would allow them to download a printable version of the training. Here is what I have tried so far: internal class UnsafeNativeMethods { public const uint SPI_GETSCREENREADER = 0x0046; [DllImport("user32.dll", SetLastError = true)] [return: