section508

Can i prevent :after pseudo element from being read by screen readers?

情到浓时终转凉″ 提交于 2020-05-25 05:57:46
问题 Please consider the following markup: <label class="required" for="email-address">Email Address <span class="audible">Required</span></label> <input type="text" id="email-address" placeholder="Company@address.com"> Along with that i have the following css... .required:after { color: red content: "*"; ...... } When i focus a field a screen reader will read: Email Address required "star". I'd like to be able to do this with css only to display a visual * but i dont want that read by screen

RSpec 2 View test to validate accessible markup?

和自甴很熟 提交于 2020-01-15 08:45:47
问题 I want to make some basic accessibility tests in RSpec (obviously, to be further validated by other tools and users later; this is to catch the low-hanging fruit like finding images w/o alt tags and such) Most of the examples have just checking content is present is similar; what I want to do is get a list of tags, and then make assertions that "all" the tags found meet certain criteria (e.g. all images have to have either an alt or a longdesc; each form input needs either a label or title,

iText 7 PDF accessibility: “Table header cell has no associated subcells”

僤鯓⒐⒋嵵緔 提交于 2020-01-11 04:10:14
问题 I am converting HTML to a PDF using iText 7. I need the PDF to be accessible (508 compliant with appropriate tags, etc), but, no matter what markup I put on a table, accessibility checkers give the same error: "Table header cell has no associated subcells". I've tried setting scope, headers, etc... nothing seems to work. Here is an example of one of the tables but all of them have the same issue: <table class="problems" summary="Patient's diagnosed problems and associated ICD codes."> <thead>

How do I make screen readers read my WPF message similarly to how they read Win32 MessageBox?

亡梦爱人 提交于 2019-12-24 01:16:00
问题 We have a WPF desktop application which needs to show some custom message windows. I am having trouble getting them to be read aloud properly by screen readers such as JAWS from Freedom Scientific. I want to achieve the same behavior as when showing a system message box. For comparison, System.Windows.MessageBox.Show("my message", "My Caption); is announced by JAWS as "My caption dialog. My message. OK Button" . This is perfect. When my message windows are opened (containing only a TextBlock

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

How can I create an accessible PDF with Java PDFBox 2.0.8 library that is also verifiable with PAC 2 tool?

烂漫一生 提交于 2019-12-22 03:45:32
问题 Background I have small project on GitHub in which I am trying to create a section 508 compliant (section508.gov) PDF which has form elements within a complex table structure. The tool recommended to verify these PDFs is at http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac.html and my program’s output PDF does pass most of these checks. I will also know what every field is meant for at runtime, so adding tags to structure elements should not be an issue. The Problem The

If an element is wrapped by a label, does the label require the “for” attribute?

让人想犯罪 __ 提交于 2019-12-19 19:56:43
问题 Say I have a set of radio <input> s. I'm not a caveman, so I know I need to associate <label> with those <input> s. I'm fond of wrapping the radio buttons within their corresponding labels, for reasons enumerated here. So, for example: <fieldset> <legend>Should I provide a "for" attribute?</legend> <label><input type="radio" name="define_the_for_attribute" id="define_the_for_attribute_yes" value="yes" />Yep, if you know what's good for you</label> <label><input type="radio" name="define_the

Accessible, 508 compliant Ajax Loading Indicator

末鹿安然 提交于 2019-12-11 17:31:55
问题 How do I make an Ajax Loading Indicator Accessible / 508 compliant. My pre-compliance strategy is like so: initiate ajax request, set timeout to show an indicator(div containing a paragraph with text and a spinner in the center of the screen) if the request doesn't finish within one second, if the indicator is showing when the request is complete, remove indicator. I've tried doing things like setting focus on the indicator text to no avail. JAWS version 9 (which does not support WAI-ARIA) is