screen-readers

iText -PDF reading issue on heading levels ( h1 - h6 )

被刻印的时光 ゝ 提交于 2019-12-25 07:41:18
问题 Generated PDF by iText-XMLWorker 5.5.4. Everything is reading perfectly except heading levels (h1-h6) in screen reader. Below code works fine on browsers but not in PDF. <section> <h1>heading 1</h1> <h2>heading 2 </h2> <h3>heading 3 </h3> <h4>heading 4 </h4> </section> 回答1: Please take a look at the ParseHeaders example. It takes the headers.html page with headers from <h1> to <h2> and converts it to headers.pdf: In your question, you claim that everything is working perfectly except heading

What alternative to tabindex=“0” exists that makes page content browsable in sequential order without missing elements?

安稳与你 提交于 2019-12-24 18:37:47
问题 I have a page that has several HTML elements, that are ignored and skipped when the user is navigating the page from top to bottom using tab key and a screen reader. This is something that I was able to fix by adding the attribute tabindex="0" to the divs that contain the text that needs to be read by the screen reader. some comments say that it is not the right approach to make this. Which is the recommended alternative? I´m using Talkback on android to navigate the page and on windows both

How to prevent screen reader from reading src attribute from img tag in IE

我与影子孤独终老i 提交于 2019-12-24 12:35:02
问题 I am facing a very straight forward problem with screen readers in IE9 or below. When the screen reader looks at an image tag, which has the src attribute, it reads the content of the src . Even if the alt attribute is present, it reads the contents inside the src . To be perfectly clear: this only happens in IE 9 or below Here is a very simple example of my code: <img src="http://placehold.it/100x100" alt="some image"/> I don't understand why this is happening. Any help on how to get around

Why <table> is not good for layout while <div> is? for screen reader users

岁酱吖の 提交于 2019-12-23 17:14:34
问题 What is the problem with <table> tag which is not with <div> for screen reader users? Please Explain with example. 回答1: I guess because you can communicate a proper table via audio, but can not parse a table used for layout and speak it sensibly. Example Title | Age Bob | 6 Greg | 10 This can be spoken. But what about this? [img] | Welcome to my site | [img] News | [img] How do you think that would be read to a visually impaired person? It all comes down to semantics. A table used for layout

How to set HTML lang attribute dynamically?

天涯浪子 提交于 2019-12-23 10:28:51
问题 How to set HTML 'lang' attribute dynamically in a web application? I tried using jQuery as follows to insert the 'lang' attribute: $(document).ready(function() { $("html").attr("lang", language); //'language' value is retrieved from a cookie }); Using console/alert, 'lang' attribute looks to be set as expected. But if you see generated source (View Source), 'lang' isn't getting set at all. Requirement is Screen Readers must be able to recognize the language dynamically. It would be great if

Can you force a screen reader to read numbers as individual digits?

给你一囗甜甜゛ 提交于 2019-12-23 07:47:06
问题 Phone numbers are typically all digits, ignoring parens, dashes, pluses, etc., so input fields for phone numbers are typically numeric. When a screen reader encounters a numeric input field, it'll read the value as a whole number. For example, if I had three input fields for a US phone number, with the first being the area code (3 digits), then the exchange (3 digits), then the line (4 digits), if the fields have 123, 456, 7890 (respectively), the way we'd normally say that number is "one two

WPF TextBlock Contents not read by screen reader

雨燕双飞 提交于 2019-12-23 02:18:08
问题 I have an application that contains custom WPF Windows that are used to show a popup similar to the Win32 MessageBox. As part of the requirements the application must be accessible through Screen Readers, and specifically JAWS. I have had problems getting the screen reader to read out the text in the dialog, but it will read the values in the buttons ok. The code in the XAML is as follows <Window x:Class="UserControls.ModalDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml

How do i tell a screen reader that a link is disabled

你说的曾经没有我的故事 提交于 2019-12-22 08:38:20
问题 I have a page with n sections. The sections are hidden and can only be shown by clicking their respective links. On page load only the 1st link is active and the rest n-1 links are href="#" . Based on some logic the other links are activated individually. Now my question is, how do I make a screen reader understand that the link is disabled or deactivate ? 回答1: Assuming you would want screen readers to know that they are there, just disabled, I would use a button or link like so: <button

Flash and Accessibility

前提是你 提交于 2019-12-22 08:35:08
问题 As a web developer, a number of the projects I work on fall under government umbrellas and hence are subject to 508 Accessibility laws, and sometimes W3C accessibility guidelines. To what extent can Flash be used while still meeting these requirements? For using javascript, the mantra is "Degrade gracefully" by providing the same content and function, just on different pages, or in a less interactive/dynamic way. This allows non-javascript browsers/users still use the site, as well as

What is the biggest cons to use position: absolute & top/left over Float & margin+padding, If site is fixed width (970px), centered?

独自空忆成欢 提交于 2019-12-21 17:25:45
问题 What is the biggest disadvantage to use CSS positioning(From Dreamweaver AP Div) for everything instead Float for fixed width, centered website? if I don't care for Mobile users Small screen users (smaller than 1024 px screen size) But I care for Screen reader user All browser user (including IE6) 回答1: If you don't care about small resolution, it's just a question of flexibility : when you use absolute positionning, you break the flow. So, everything must be exactly sized. For many elements