gecko-dev/accessible/ipc
Marco Zehe ccd63db4b3 Bug 1508870 - Make a distinction between an empty returned string versus a null pointer, r=Jamie
When determining if an author provided an empty alt attribute versus no alt attribute at all, our image accessible name is either an empty string or a null string. Screen readers can then choose to guess the name from the source if the author did not explicitly provide an empty alt text and thus marked the image as decorative.

The accessible handler for the Windows remote processes did not account for this distinction, always returning what appeared to be an empty string. This was found while determining why NVDA wasn't guessing the SRC from a non-labelled graphical link. NVDA checks to see if the name returned by the link accessible is null, and then decides to look for the graphical children if that is the case.

Differential Revision: https://phabricator.services.mozilla.com/D12532

--HG--
extra : moz-landing-system : lando
2018-11-22 06:09:31 +00:00
..
other Bug 1479039 - Extend BatchData struct and added focus path cache. r=yzen 2018-11-12 16:41:38 +00:00
win Bug 1508870 - Make a distinction between an empty returned string versus a null pointer, r=Jamie 2018-11-22 06:09:31 +00:00
DocAccessibleChildBase.cpp Bug 1453979 - use ContiguousEnumSerializerInclusive for serializing enums in a11y IPC code; r=MarcoZ 2018-04-13 10:51:43 -04:00
DocAccessibleChildBase.h Bug 1402951 - no show events for content on document load complete, r=aklotz, yzen 2017-10-03 10:58:27 -04:00
DocAccessibleParent.cpp Bug 1502187 - Add Batch protocol to PDocAccessible. r=Jamie 2018-11-06 04:22:08 +00:00
DocAccessibleParent.h Bug 1502187 - Add Batch protocol to PDocAccessible. r=Jamie 2018-11-06 04:22:08 +00:00
IPCTypes.h Bug 1454628 - fixed compilation with --disable-accessibility builds; r=aklotz 2018-04-17 13:01:19 -04:00
ProxyAccessibleBase.cpp Bug 1326084 - Unbind accessible child doc before replacing with new one. r=trevor 2017-04-07 13:26:45 -07:00
ProxyAccessibleBase.h Bug 1479037 - Assign a 32bit ID to each accessible, and make them retrievable from root 1/4. r=Jamie 2018-10-11 16:20:54 +00:00
ProxyAccessibleShared.h Bug 1451169 - Change nsRoleMapEntry::roleAtom from `nsStaticAtom**` to `nsStaticAtom* const`. r=davidb 2018-04-03 10:55:33 +10:00
moz.build Bug 1479033 - Introduce Android accessibility directory. r=Jamie 2018-09-18 10:43:18 -07:00