Search code examples
c#.netwpfxamljaws-screen-reader

JAWS accessiblity software with .Net


I have a XAML form on a desktop application running .net 4.5 that dynamically changes the forms displayed on the window based on the selected comboBox.

My issue is that JAWS accessiblity software is reading the my combobox name incorrectly. Instead of reading the correct label for the field it's reading a hidden label.

Is there a .Net accessibility class that will help for screen readers or is there a XAML .Net attribute similar to the "aria-hidden"? Which hides fields from screen readers, which I could do dynamically.


Solution

  • So as we hashed out in the comments, JAWS adopted full UI Automation support years ago which provides folks on the dev end multiple quick/easy ways to get around some of the Accessibility hurdles.

    For your instance it's all about AutomationProperties to instruct the reader what it actually cares about. Kind of an adhoc equivalent to aria stuff you're probably familiar with from the HTML world.

    In any event, AutomationProperties.LabeledBy (or in other scenarios AutomationProperties.Name) give you a quick way to define the readers only respected string context to define an object or a section with a description it will apply only to that object, or to that object/panel and it's children as the source of truth as far as the reader is concerned.

    Hope this helps, I mean who doesn't love being a hero? heh, cheers!