Commit f5f845f5 authored by Richard Pospesel's avatar Richard Pospesel Committed by Georg Koppen
Browse files

Bug 27503: Disabling accessibility on Windows breaks screen readers

This patch is merely an application of the current accessibility fixes
in Mozilla 1520177 (
https://bugzilla.mozilla.org/show_bug.cgi?id=1520177 ). It replaces the
RT_MANIFEST symbol (defined in windows headers we don't include) with
the integer constant 24 to avoid includes confusion, updates the
IA2Marshall.rc file to explicitly include the dll manifest and it adds
some additional include directories previously excluded when building
with the mingw toolchain.

With this patch applied, the NVDA screen reader can now read webpage
contents, though navigation is still broken.
parent 477af8c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

1 typelib IA2Typelib.tlb
2 24 IA2Marshal.dll.manifest

toolkit/library/moz.build

100644 → 100755
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ def Libxul(name):
    if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['ACCESSIBILITY']:
        LOCAL_INCLUDES += ['!/accessible/interfaces/gecko/']

    if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['CC_TYPE'] not in ('clang', 'gcc'):
    if CONFIG['OS_ARCH'] == 'WINNT':
        LOCAL_INCLUDES += [
            '/widget/windows',
            '/xpcom/base',
+2 −2
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@
#include "widget.rc"
#ifdef ACCESSIBILITY
1 typelib IGeckoCustom.tlb
64 RT_MANIFEST IAccessible64.manifest
64 24 IAccessible64.manifest
#ifndef HAVE_64BIT_BUILD
32 RT_MANIFEST IAccessible32.manifest
32 24 IAccessible32.manifest
#endif
#endif