Posts

Showing posts with the label a11y

Understanding language choices in software

Image
I'm working on a passion project, tentatively called "Barriers of Babel: How Languages and Accessibility Intersect." Today I had a minor breakthrough. I had spent a few days trying to understand which human languages Windows and Android support. I thought it was a matter of matching the language name, and sometimes the region and script, to the IANA language subtags . Then I looked at the NVDA screen reader. It's more transparent than other software, telling us the IANA language subtags of its UI languages. Yet even here it's still hard to know "which languages it supports," because several of these are in fact macrolanguages which contain more than one language. When the IANA language registry says two things are distinct languages, it's based on a measure of intelligibility between them. So for example, what do the macrolanguages "Chinese" and "Albanian" mean in NVDA's list of UI languages ? "Chinese (Simplified, Ch...

What happens when ARIA conflicts with HTML?

I was trying to make sense of these issues, reported in 2020 against ARIA in HTML : Incorrect or confusing description of aria-required usage #225 Other aria-* attributes which should not be allowed on HTML elements #241 My understanding of strong native semantics was hand-wavy, so I scrutinized the ARIA spec . It gives us an interlocking set of requirements for web authors, ARIA conformance checkers, user agents, and the host language itself (usually HTML, but could be SVG or MathML). To help myself understand the subtleties, I reorganized and rephrased these requirements in more formal language. Words in [square brackets] are my additions, but otherwise these are direct quotes from  ARIA spec 1.2 (Working Draft 18 December 2019), section 8.5, Conflicts with Host Language Semantics . How ARIA handles conflicts with a host language The ARIA spec's requirements for a host language spec (e.g, ARIA in HTML) [8.5.1 Attribute Conflicts:] Host languages MUST explicitly declare where the...

WCAG reporting for non-web software

Are companies using WCAG for non-web software? Short answer: Yes! This is important for standards education. The question came up because I recommended that the WCAG-EM Report Tool  not hard-code the words "websites" and "web pages" into its reports. I said the tool should also include suitable language for non-web software, such as mobile apps. Personally I've written a lot of WCAG reports in VPAT format for non-web software, but I wondered... Is this my weird specialty, or is it common? So I asked the Internet. I looked at the ten biggest digital companies because I had a hunch they might publish their VPAT reports online for all to see. I was right — after a few simple web searches, I found six out of ten of these large companies publishing their VPAT reports online. A few clicks later, I had the data I was looking for. Five out of six  large technology companies have published at least one VPAT report for non-web software. I was disappointe...

How do you pronounce the web?

Thank you to Irfan Ali and Janina Sajka for starting the Spoken Pronunciation Task Force in the W3C Accessible Platform Architectures (APA) Working Group. As an accessibility professional, amateur linguist, and person with a cognitive disability , I'm offering this blog post as a perspective and a starting point for discussion. What would happen if we use lexical markup in HTML for improving pronunciation in text to speech (TTS)? Lexical markup specifies the lexeme of a word or phrase, not its phonemes. Lexical markup can help language learners as a basis for more efficient translation. Lexical markup can help end users with cognitive disabilities through more accurate presentation of lexical synonyms (PDF) or conversion to simplified language . Existing W3C standards already offer lexical markup as a basis for pronunciation. In the Pronunciation Lexicon Specification (PLS) and Speech Synthesis Markup Language (SSML) , the role attribute and token element provide this capa...

Accessibility experts are farmers, not manure shovelers

As an accessibility subject matter expert (SME) watching another Global Accessibility Awareness Day come and go, sometimes I feel like a manure shoveler. No matter how carefully I shovel (or test), it will always stink. Instead, as SMEs we must remember to be farmers. With patient perseverance, we sow the seeds and nurture the cycles of life – or the lifecycles of digital products. Actually, many analogies are apt... the accessibility job most days :: the accessibility job as it should be manure shoveler :: farmer cop (traditionally gaining respect through fear) :: firefighter (traditionally gaining respect through protection) factory worker :: global logistics consultant number cruncher :: polymath heart surgeon :: nutritionist No analogy is perfect. In reality the manure will always need shoveling, the factory will need greasing, numbers will need crunching, and digital products will need auditing. The power of these analogies is to remind us that the left side is just a ...

Can JavaScript set a Sequential Focus Navigation Starting Point?

This is a follow-up from my last blog post . Should a web author be able to explicitly set a Sequential Focus Navigation Starting Point using JavaScript? There are several reasons why the answer should be "yes." It can improve user experience in some cases Today, for accessibility it's often necessary to set focus on a div or static text. If browsers and assistive technologies will provide a consistent experience for anchor links, then instead of setting focus on non-actionable content, it would be more like native browser behavior to set a Sequential Focus Navigation Starting Point. In such cases users would expect to see the element in the viewport, so the author should also use Element.scrollIntoView() . Less often, this same technique can solve a usability problem when JavaScript sets focus on a text input. In devices with virtual keyboards (iOS Safari at least), input.focus() causes the virtual keyboard to appear. This is appropriate in some cases, where th...

The "sequential focus navigation starting point" in WebKit and Chromium

Both from a user perspective and from a technical perspective, I like the way Chromium is formalizing the "sequential focus navigation starting point" . A few highlights of this change: If a navigation to a url with fragment identifier happened, an element pointed by the fragment is set as sequential focus navigation starting point. In other words, anchor links like #skip_to_main will now work for keyboard users, without any JavaScript. We've only been  waiting for this since 1990 ! If the element pointed by sequential focus navigation starting point is removed from the document tree, a point where there was the element at would be the starting point. This is good for accessibility in modern web sites, such as single-page apps. We'll first need to see some follow-on improvements in browsers and assistive technologies, but eventually this might allow web authors to simplify focus management, as DOM elements are removed and changed. Implementation: Sequential ...

My web accessibility ReadMe file

My "start here" list for web accessibility is a short list, but the drilldown is deep. Web Content Accessibility Guidelines (WCAG) 2.0 - Level AA is a de facto standard for a solid level of web accessibility. The Paciello Group (TPG) - I like Steve Faulkner's focus on standards-based development, tempered with a disciplined testing approach. WebAIM mailing list archives - I often search the discussions, to make sure I'm not reinventing the wheel. It can be up-to-the-minute but you must test and validate whatever you read. I'm a big believer in testing everything. If you don't have a test that shows that it works, then you must assume it does not work. Even for stuff that Steve says works, or I do. Prove me wrong, make the Internet better.   I typically test on: Keyboard-only in one Windows browser. JAWS and NVDA IE8 and latest Firefox. I call this my "bookend strategy." If something works on both a modern standards-compliant browser a...

My notes from W3C "Readability"

Last week I attended the W3C symposium on Text Customization for Readability . That's a mouthful... We explored ways that a reader can change the way text looks, to make it easier to read. If you have low vision, how do you read online? David Sloan says people like himself with low vision can have great difficulty reading text with subpixel rendering , e.g. ClearType which is no longer configurable in Internet Explorer 9. Eileen Rivera enlarges text significantly in order to read it. Her wish list item is to allow all text to wrap so she does not have to scroll horizontally. She added that content authors should watch the "gymnastics" that low vision readers go through, which should inspire content authors to work on improving the experience. Suzette is dealing with the effects of cataract surgery. For her, increased font size is necessary, but makes it difficult to skim. Increased line spacing makes reading more comfortable for her. Anthony Lee says web browers ne...

WebAIM survey of screen reader users

2024 Update: I no longer think it's a good idea to detect assistive technology usage, even for an ostensibly good cause. The slippery slope is too morally hazardous. —Mitchell If you use a screen reader, please fill out the 2012 WebAIM Screen Reader User Survey . The survey closes on May 25. Sharing for the accessibility nerds out there... At the end of the survey, I added these comments... Let's see if I get a response! When you report the results, I would be curious to know how you solicited people to fill in this survey. Was it just through the WebAIM email list, or did you take steps to get some kind of broad cross-section of users worldwide? In you report, will you analyze possible effects of selection bias in the results? I'm not complaining (all questionnaires have some selection bias) but I would like to hear your perspective on how much the respondents represent the whole world of web users. Also, in a future survey, it would be interesting to use Adobe Flash...