Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 57 and Later Unusable with NVDA #7778

Closed
elliott94 opened this issue Nov 18, 2017 · 35 comments
Closed

Firefox 57 and Later Unusable with NVDA #7778

elliott94 opened this issue Nov 18, 2017 · 35 comments

Comments

@elliott94
Copy link

When using the latest NVDA snapshot (next-14617,ef52ddc4) in combination with Windows 10 (10.0.15063 Build 15063) and the latest version of Firefox (57 X64), NVDA is literally unusable and results in the word "unknown" being output whenever I tab around the window. Reading the content of editable fields (including the Address Bar) works without issue, but all other interaction results in the behaviour outlined above. I've ensured that the "Prevent accessibility services from accessing your browser" checkbox is unchecked; when this is ticked, nothing at all reads so I can definitely tell that this is not the issue. I'm aware that huge changes have been made to the internal functionality of the latest release, but it was hinted that this would only cause slowness and not complete degredation of the browsing experience. When testing with several different Windows 7 configurations, whilst there are some issues that need to be addressed by Mozilla separately I am successfully able to navigate around web pages as expected. Testing with both Firefox 57 X86 and X64 on the same machine gives me the same result. I wanted to see if anybody has experienced anything similar or if Mozilla are aware of this.

@Brian1Gaff
Copy link

Brian1Gaff commented Nov 18, 2017 via email

@feerrenrut
Copy link
Contributor

I haven't been able to reproduce this in Windows 10 with a recent next build of NVDA and Firefox 57.0 (64-bit) and 57.0.1 (64-bit). If anyone can reproduce this, I would be interested to see a log, and the NVDA developer info.

@jcsteh
Copy link
Contributor

jcsteh commented Dec 9, 2017

@elliott94, could you please try these instructions (adapted from those I posted in #2807 (comment)):

  1. Please apply this registry patch (remove the .txt extension).
  2. Please also apply this second registry patch (remove the .txt extension).
  3. Open a command prompt as administrator: Start menu, type cmd.exe into the search box, press control+shift+enter and accept the UAC prompt.
  4. Enter the following commands:
    c:\windows\system32\regsvr32 c:\windows\system32\oleaut32.dll
    c:\windows\system32\regsvr32 c:\windows\system32\actxprxy.dll
    
  5. Also enter the following commands:
    c:\windows\syswow64\regsvr32 c:\windows\syswow64\oleaut32.dll
    c:\windows\syswow64\regsvr32 c:\windows\syswow64\actxprxy.dll
    
  6. Also enter the following command:
    c:\windows\system32\regsvr32 c:\windows\system32\OneCoreCommonProxyStub.dll
    
  7. Also enter the following command:
    c:\windows\syswow64\regsvr32 c:\windows\syswow64\OneCoreCommonProxyStub.dll
    

Does that resolve the issue?

@elliott94
Copy link
Author

@jcsteh - Thanks for these. However, I already had to previously apply this fix to resolve an issue related to an installation of the Skype for Business client... so this time, it's unfortunately not the issue! I'll do some more investigation and post updates as soon as I have any.

@jcsteh
Copy link
Contributor

jcsteh commented Dec 12, 2017 via email

@mrazzari
Copy link

I have the same issue. Windows 10 Home 64 bits, version 1607. Firefox 57.0.2 64 bits.
"Prevent accessibility services" is not checked.

Tested both NVDA 2017.4 and NVDA next 14728 (from Dec 12).

Tried the steps above.

The "OneCore" ones result in an "DllRegistryServer entry point not found" error.

Firefox ESR works fine.

Is there any further info I can provide to help debug this?

@bleeblat
Copy link

bleeblat commented Feb 3, 2018

I have the same issue on windows 10 64-bit with firefox 58. Same errors and things as the previous comment. I think one of the windows updates broke something as it worked once before, then stopped working. I tried to register the DLL's again and applied the registry patches according to the directions. The firefox window reads fine except for the web page. But it's weird, because pages that begin with about: like about:support for example, will read the content fine, but www.google.com will not read the content at all. It just says unknown. But the rest of the windows in firefox like menus and context menus and dialogues and all that, read as one would expect. What sort of information can I send to help this out? You could remote in as well if you'd like, if that helps. Ordinarily I wouldn't mind because I have chrome as the default browser, but some pages render or read weirdly in Chrome. So I'd rather use Firefox as the default browser, mostly for things like reader mode and better usability of some form fields.

@Brian1Gaff
Copy link

Brian1Gaff commented Feb 4, 2018 via email

@comanna
Copy link
Contributor

comanna commented Apr 24, 2018 via email

@jcsteh
Copy link
Contributor

jcsteh commented Jul 4, 2018

Can anyone still reproduce this?

Note that the system registry fixes above now get applied by NVDA when it is installed. You can also re-apply them by using NVDA menu -> Tools -> Run COM Registration Fixing tool. So, all you need to do is install a recent version of NVDA (2018.2 or later) and test again.

@jcsteh
Copy link
Contributor

jcsteh commented Jul 4, 2018

@comanna commented on Apr 25, 2018, 2:53 AM GMT+10:

When I use Firefox, I cannot open some links.

That's a different issue from the one reported in this issue. Please file a new issue with information specific to that problem. Thanks!

@elliott94
Copy link
Author

Unfortunately, yes - this is still an issue for me on this one same machine. Firefox 56.0.2 is the last version that works without issue - definitely not related to the fixes outlined above; other apps work without issue, and applying these from within NVDA unfortunately doesn't resolve.

@jcsteh
Copy link
Contributor

jcsteh commented Jul 4, 2018 via email

@elliott94
Copy link
Author

It was. So, just to confirm the process:

  1. Firefox was updated automatically, at which time I realised that accessibility was broken.

  2. I completely removed both the Firefox application and Mozilla Service, restarted, and removed everything from the following directories:

C:\Program Files\Mozilla Firefox

C:\Users\Username\AppData\Local\Mozilla

C:\Users\Username\AppData\LocalLow\Mozilla

C:\Users\Username\AppData\Roaming\Mozilla

  1. Downloaded a copy of the full Firefox installer (from https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=en-US), installed but noticed the same result.

  2. Tried a version of the latest copy of the browser packaged by PortableApps (https://portableapps.com/apps/internet/firefox_portable) (not affiliated with Mozilla) with the same results.

Sorry for such a hard one to figure out... it really is a strange one. On the off-chance, I also use Skype for Business 2016 on this machine which is known for causing COM errors - the installer that I use can be found here if it helps replicate the issue at all:

https://download.microsoft.com/download/8/7/E/87E24B50-9C85-4B1D-A581-94AA037803F8/lyncentry_4417-1000_x64_en-us.exe

@comanna

This comment has been minimized.

@Adriani90

This comment has been minimized.

@Adriani90
Copy link
Collaborator

I guess this issue is not only related to firefox, see #8389 and comments.

@elliott94
Copy link
Author

Just updating this on the off chance that anybody has new ideas on what could be causing this. My main concern is that in corporate environments where NVDA is being used and where keeping software updated is key, the inability to use latest versions of the browser could start to be a big problem. Browser support for Firefox is without a doubt the best browser/screen reader combination, but obviously security is also hugely important to consider.

@jscholes
Copy link

So this still occurs with the latest versions of Firefox? In #7778 (comment), you hinted that the Skype for Business installer might have something to do with it. Would it be at all possible for you to test your theory, maybe by creating a Windows 10 virtual machine? I don't think anybody would argue with the fact that Firefox being completely inaccessible on some machines is a big problem.

@elliott94
Copy link
Author

The SFB installer was mentioned because this is a perfect example of an executable that completely breaks accessibility when installed; however, the COM registration fixes tool included with NVDA fixes this.

Unfortunately, I don't have any free hardware that I can load any virtualisation software onto at the current time - I can, however, test on the laptop with the problem if required. Sorry for the trouble.

@Adriani90
Copy link
Collaborator

@elliott94 so the issue is solved for you by the com registration fixing tool?

@elliott94
Copy link
Author

Sorry. Running the COM tool fixes the problems I have with Skype - however, it unfortunately doesn't with Firefox. I am still experiencing the exact same issue.

@Adriani90
Copy link
Collaborator

I had the same issue on Firefox and talked with Jamie on Gitter about this. Unfortunately it is not possible to investigate it. It could be something stored in cash which prevents com registry dlls to work correctly. But in is almost impossible to find which com registry dll could be. I will let this issue open maybe someone can find a solution. In my case it only helped to reset my system to factory default. I tried every kind of fixing tools I could find and tried to register many com registry dlls manually but it didn't help.

@elliott94
Copy link
Author

Just a small update.

After testing this on a separate machine with a freshly-installed build of Windows 10 (the same version as initially outlined in my description for this ticket), I am experiencing the exact same behaviour. It definitely seems like something is up with the corporate build that my organisation are using; that to one side, however, this is definitely caused by a change between Firefox 56.0.2 and 57; NVDA is able to interact with content in 56 without issue, but as soon as 57 is opened the problems start.

@jcsteh
Copy link
Contributor

jcsteh commented Apr 16, 2019 via email

@elliott94
Copy link
Author

So! An update - hopefully we're getting there. I tested the following on a clean installation of Windows 10 1803:

  1. Installed a fresh copy of Firefox 67.0.1 - everything is good at this point

  2. Installed the Skype for Business 2016 client - at this point, accessibility breaks

  3. Try to repair things - both by using the built-in NVDA COM registration fixing tool, and by following the instructions outlined in Skype for Business 2016: Installation causes Degredation of Output with NVDA on Windows 7 #7311 - things are still broken

  4. Uninstalled the Skype for Business 2016 client, and re-ran the above instructions - things started working again!

So, I can now be 100% sure that the SFB client is the issue. Does anybody have any ideas as to how I can directly speak to Microsoft to let them know about this? Skype is essential as part of my job, but keeping up with Firefox security updates is also important!

Thanks.

@Adriani90
Copy link
Collaborator

cc: @michaelDCurran

@elliott94 elliott94 changed the title Windows 10: Firefox 57 Unusable with NVDA Firefox 57 and Later Unusable with NVDA Jan 10, 2020
@elliott94
Copy link
Author

So - a small update.

I've now had chance to test this in a slightly different setup with Windows 7 rather than 10. If installing NVDA 2019.2.1 onto a machine running Windows 7 X86 and then install the Skype for Business 2016 client, everything in Firefox continues to read as it should - however, if I then perform the exact same steps on the same machine after it has been imaged with Windows 7 X64, the above breakage can be observed. I'm now wondering whether the build of Firefox that's being run (either X86 or X64) could have anything to do with this - but it definitely appears to be related to the machine architecture in this case.

@Adriani90
Copy link
Collaborator

@elliott94 do you still see this issue with NVDA 2020 Beta or 2019.3.1 and Firefox 75?

@elliott94
Copy link
Author

Yes - this is still reproduceable with both the latest versions of NVDA and Firefox on Windows 7 X64.

@zahra21
Copy link

zahra21 commented Nov 11, 2020

i read this issue and paid attention to it especially when i commented on the issue 7269
i wish to ask the users which antivirus or antimalware programs do you use?
i think that maybe some security softwares prevent nvda from accessing firefox because of their false positive problem.
i completely trust nvda, but for example: i remember that i read that avast antivirus recognizes libreoffice as a trojan and its maybe true for nvda.
i tested with nvda 2017.3 and nvda 2017.2 with firefox before quantum on both windows xp and windows seven and all versions have excellent support with nvda.
in firefox quantum, i remember that in 2018, i tested firefox portable 61.0.1 with nvda 2017.2 and the result was only crashing of firefox even in simple web pages like gmail in basic html view
and user guide and what's new in nvda files.
i should say that i dont trust and never dont use any antivirus, antimalware,and other security programs except windows firewall.
but i remember that in 2014 or 2015, i tested one antispyware program which is called WinPatrol,
and i even could not navigate simple web pages.
the result was overheating my laptop and unresponsiveness of nvda and firefox or one of them.
i did not say exactly which one because my system became unusable for me before removing that program.

@elliott94
Copy link
Author

That's an interesting thought; multiple anti-virus products were in use at the time of my testing this issue since reporting this 3 years ago. That said, it definitely appears that the Skype for Business 2016 installer has something to do with this - rather than any particular anti-virus product specifically.

@Adriani90
Copy link
Collaborator

@elliott94 is this issue still reproducible for you? Now that #12560 has been merged things should be much better. Also note that #12355 is still in work and will probably fix also further cases.
cc: @XLTechie

@XLTechie
Copy link
Collaborator

XLTechie commented Mar 2, 2023 via email

@jcsteh
Copy link
Contributor

jcsteh commented Jun 9, 2023

The recent accessibility re-architecture in Firefox 113 eliminates the obscure COM usage that caused this problem to manifest in Firefox 57+ on systems with broken registry entries. It's still possible for even more broken registry entries to break web browsers, but the breakage would now be across all browsers, rather than only web content in Firefox. Thus, I'm closing this issue.

@jcsteh jcsteh closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests