Screen reader reading objects in states that it shouldn't "see"
Dec 02, 2020
I'm working with shapes (functioning as buttons) that have a Normal and a Selected state. I have put icons on the Normal states.
For all objects in both states except those that contain text, which includes the icons, I've gone to Accessibility and deselected "Object is visible to accessibility tools".
For all icons, if they are "invisible" via deselecting this buttons, the name of the icon is not read by JAWS. However, depending on the complexity of the icon, most icons are still partially read by JAWS; the name is hidden, but the paths are not. Icons that are "one path" are completely hidden, whereas for those that are made up of several paths/shapes, the component parts/shapes are read, one by one, as "freeform 1" "freeform 3" etc.
See attached graphic.
On an unrelated note, you should change the feedback that the screen reader gives when you are adding or changing the accessibility option -- right now, the "close" button is reported by JAWS as "cancel" even though it keeps your changes.)