Code snippets referencing system colors from the active high contrast theme, in five UI frameworks

This post demonstrates how to reference appropriate system colors for button text and button background when a high contrast theme is active. The snippets relate to HTML, XAML, WinForms, WPF and Win32.   Introduction A couple of weeks ago I asked a dev about the UI frameworks that were being used in his feature’s UI….

0

Follow-up #4: Can I customize the path that the Narrator screen reader takes when moving to the “next” or “previous” element in my UWP app’s UI?

This post describes a question arising from the discussion detailed at More tips on building accessible Windows apps, including a couple of things introduced with the Windows 10 Anniversary Update.   The majority of your customers using the Narrator screen reader at your UI will control the screen reader via the keyboard. As your customers…

0

Follow-up #3: How can I increase the visibility of keyboard focus feedback in my UWP XAML app, without having to write custom visuals?

This post describes a question arising from the discussion detailed at More tips on building accessible Windows apps, including a couple of things introduced with the Windows 10 Anniversary Update.   One of the very important aspects relating to keyboard accessibility is knowing where keyboard focus is when you’re using the keyboard. So when some…

0

Follow-up #2: How do I have access keys shown on buttons in my UWP XAML app?

This post describes a question arising from the discussion detailed at More tips on building accessible Windows apps, including a couple of things introduced with the Windows 10 Anniversary Update.   Access keys can make a huge difference to the keyboard accessibility of an app. Rather than forcing a customer to press the Tab key…

0

Follow-up #1: Does the approach taken for using a particular high contrast system color in a UWP HTML app also work with a web page in a browser?

This post describes a question arising from the discussion detailed at More tips on building accessible Windows apps, including a couple of things introduced with the Windows 10 Anniversary Update.   I recently built a UWP HTML demo app with CSS to specify that when a high contrast theme is active, the text on a…

0

More tips on building accessible Windows apps, including a couple of things introduced with the Windows 10 Anniversary Update

  This post describes a demo app that I recently built for a presentation on building accessible Windows apps. The post is followed by four follow-up posts related to questions arising during the presentation. By the way, whenever you see a code snippet in the posts that contains something that looks like a chess piece,…

0

Building and running a UIA sample app on Windows 10

  This post describes steps you can take to run one of my Windows 7 UI Automation (UIA) client sample apps with Edge on Windows 10.   Introduction I was recently asked whether my Windows UI Automation (UIA) client sample app at Windows 7 UI Automation Client API C# sample (hyperlink processor) Version 1.0 is…

1

Don’t use the UIA RuntimeId property in your Find condition

This post describes how an element’s RuntimeId property is only guaranteed to not change for the lifetime of the element. So it is not appropriate for a UIA client app to try to find an element over multiple runs of a target app, via the element’s RuntimeId.   Introduction I recently had an interesting chat…